Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions deploy/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,51 @@ cert-manager:

redis-operator:
install: true
podSecurityContext:
runAsNonRoot: true
runAsUser: 1000

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only concern is that openshift requires not setting a runAsUser, runAsGroup, or fsGroup (openshift assigns these automatically). This will mean that the openshift overlay needs to null out those values. Aside from that, this all looks good.

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
Expand All @@ -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:
Expand Down
Loading