From f84021c7265042863d2662c3fb03073267153204 Mon Sep 17 00:00:00 2001 From: casey-coreweave Date: Fri, 29 May 2026 10:30:53 -0700 Subject: [PATCH] feat(operator): Add podSecurityContext to dependent charts --- deploy/operator/values.yaml | 73 +++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/deploy/operator/values.yaml b/deploy/operator/values.yaml index aca7ec8d..586d513a 100644 --- a/deploy/operator/values.yaml +++ b/deploy/operator/values.yaml @@ -126,10 +126,51 @@ cert-manager: redis-operator: install: true + podSecurityContext: + runAsNonRoot: true + runAsUser: 1000 + runAsGroup: 1000 + fsGroup: 1000 + fsGroupChangePolicy: OnRootMismatch + seccompProfile: + type: RuntimeDefault + securityContext: + runAsNonRoot: true + runAsUser: 1000 + runAsGroup: 1000 + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - "ALL" + seccompProfile: + type: RuntimeDefault strimzi-kafka-operator: install: true watchAnyNamespace: true + podSecurityContext: + runAsNonRoot: true + runAsUser: 1001 + runAsGroup: 1001 + fsGroup: 1001 + fsGroupChangePolicy: OnRootMismatch + seccompProfile: + type: RuntimeDefault + securityContext: + runAsNonRoot: true + runAsUser: 1001 + runAsGroup: 1001 + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - "ALL" + seccompProfile: + type: RuntimeDefault + extraEnvs: + - name: STRIMZI_POD_SECURITY_PROVIDER_CLASS + value: restricted seaweedfs-operator: install: true @@ -146,6 +187,38 @@ altinity-clickhouse-operator: cpu: 100m memory: 128Mi install: true + podSecurityContext: + runAsNonRoot: true + runAsUser: 1000 + runAsGroup: 1000 + fsGroup: 1000 + fsGroupChangePolicy: OnRootMismatch + seccompProfile: + type: RuntimeDefault + operator: + containerSecurityContext: + runAsNonRoot: true + runAsUser: 1000 + runAsGroup: 1000 + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - "ALL" + seccompProfile: + type: RuntimeDefault + metrics: + containerSecurityContext: + runAsNonRoot: true + runAsUser: 1000 + runAsGroup: 1000 + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - "ALL" + seccompProfile: + type: RuntimeDefault configs: files: config.yaml: