After upgrading from ClickHouse Operator 0.25.3 to 0.25.5, our previous ClickHouseOperatorConfiguration manifests—valid and working on 0.25.3—are now rejected due to a breaking change in the CRD schema for the watch.namespaces field.
This is a YAML snippet of the relevant configuration (which worked in v0.25.3):
apiVersion: clickhouse.altinity.com/v1
kind: ClickHouseOperatorConfiguration
# ...
spec:
# ...
watch:
namespaces:
- clickhouse
- In 0.25.3, the CRD defines
spec.watch.namespaces as an array of strings.
- In 0.25.5, this changed to an object (
type: object), breaking compatibility with configurations that previously used the old array format or documentation that expected one behavior.
CRD change that caused breakage:
namespaces:
type: array
description: "List of namespaces where clickhouse-operator watches for events."
items:
type: string
namespaces:
type: object
description: "List of namespaces where clickhouse-operator watches for events."
x-kubernetes-preserve-unknown-fields: true
After upgrading from ClickHouse Operator 0.25.3 to 0.25.5, our previous
ClickHouseOperatorConfigurationmanifests—valid and working on 0.25.3—are now rejected due to a breaking change in the CRD schema for thewatch.namespacesfield.This is a YAML snippet of the relevant configuration (which worked in v0.25.3):
spec.watch.namespacesas an array of strings.type: object), breaking compatibility with configurations that previously used the old array format or documentation that expected one behavior.CRD change that caused breakage: