Using a config from operator 2.4.2, but trying to start with 2.6.2 and 2.6.3, and getting error on a helm deployment:
│ {"level":"error","ts":"2024-05-05T22:39:02Z","msg":"Reconciler error","controller":"couchbase-controller","object":{"name":"couchbasedev","namespace":"couchbase"},"namespace":"couchbase","name":"couchbasedev","reconcileID":"8abf622d-39 │
│ 9f-4e86-b1bd-6bba02caf6a8","error":"admission webhook \"couchbaseoperator-couchbase-admission-controller.couchbase.svc\" denied the request: validation failure list:\nspec.Security.PodSecurityContext must be equal to spec.SecurityConte │
│ xt, if both present","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtim │
│ e/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs │
│ .k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227"} │
│ {"level":"info","ts":"2024-05-05T22:39:02Z","logger":"cluster","msg":"Watching new cluster","cluster":"couchbase/couchbasedev"}
I have the SecurityContext section, but no PodSecurity…ideas?
securityContext:
fsGroup: 1000
runAsNonRoot: true
runAsUser: 1000
sysctls: []
windowsOptions: {}
[couchbase-values.fullValuesERROR.zip|attachment](upload://cupY5yk1KPl6RVpq50gbgU5WbYP.zip) (2.4 KB)
config is attached (helm)