-
Notifications
You must be signed in to change notification settings - Fork 527
Open
Description
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.namespacesas 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: stringnamespaces:
type: object
description: "List of namespaces where clickhouse-operator watches for events."
x-kubernetes-preserve-unknown-fields: trueMetadata
Metadata
Assignees
Labels
No labels