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> |
||
|---|---|---|
| .. | ||
| api-service.yaml | ||
| complete-postgres-manifest.yaml | ||
| configmap.yaml | ||
| custom-team-membership.yaml | ||
| e2e-storage-class.yaml | ||
| fake-teams-api.yaml | ||
| fes.crd.yaml | ||
| infrastructure-roles-configmap.yaml | ||
| infrastructure-roles-new.yaml | ||
| infrastructure-roles.yaml | ||
| kustomization.yaml | ||
| minimal-fake-pooler-deployment.yaml | ||
| minimal-master-replica-svcmonitor.yaml | ||
| minimal-postgres-lowest-version-manifest.yaml | ||
| minimal-postgres-manifest.yaml | ||
| operator-service-account-rbac-openshift.yaml | ||
| operator-service-account-rbac.yaml | ||
| operatorconfiguration.crd.yaml | ||
| platform-credentials.yaml | ||
| postgres-operator.yaml | ||
| postgres-pod-priority-class.yaml | ||
| postgresql-operator-default-configuration.yaml | ||
| postgresql.crd.yaml | ||
| postgresteam.crd.yaml | ||
| standby-manifest.yaml | ||
| user-facing-clusterroles.yaml | ||