postgres-operator/pkg
rasoanaivo-r b43c7be1d0
fix operatorconfigurations CRD: render sidecars as array (#3160)
configuration.sidecars was annotated with kubebuilder:validation:Type=object
while SidecarContainers is a []v1.Container, so the generated schema rejected
every list value and global sidecars could not be configured at all.

Drop the hand-written Schemaless/Type=object markers and let controller-gen
derive the schema from the Go type, the same way spec.initContainers is
already handled in the Postgresql CRD. The field now renders as type: array
with a full Container schema for its items.

Fixes #3159

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-11 17:10:05 +02:00
..
apis fix operatorconfigurations CRD: render sidecars as array (#3160) 2026-08-11 17:10:05 +02:00
apiserver Add operator deployment readiness probe (#1874) 2023-01-05 18:29:47 +01:00
cluster prepare bugfix release (#3147) 2026-07-29 10:51:00 +02:00
controller prepare bugfix release (#3147) 2026-07-29 10:51:00 +02:00
generated Update to Go 1.26.4, build runners and go.mod depedencies (#3108) 2026-06-23 13:35:53 +02:00
spec Fix operatorconfigurations CRD: NamespacedName must render as type string (#3145) 2026-07-28 16:02:59 +02:00
teams Generate CRD for postgresteam resource (#3004) 2026-01-10 19:39:08 +01:00
util prepare bugfix release (#3147) 2026-07-29 10:51:00 +02:00