-
-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hey Thanks for implementing this Operator:
We have the Following Problem:
Our Cluster is Setup with higher restriced PodSecurity.
So when I create a Valkey cluster i get this with my Pods:
create Pod keyval-0 in StatefulSet keyval failed error: pods "keyval-0" is forbidden: violates PodSecurity "restricted:latest":
allowPrivilegeEscalation != false (container "volume-permissions" must set securityContext.allowPrivilegeEscalation=false),
unrestricted capabilities (container "volume-permissions" must set securityContext.capabilities.drop=["ALL"]),
runAsNonRoot != true (pod or container "volume-permissions" must set securityContext.runAsNonRoot=true),
runAsUser=0 (container "volume-permissions" must not set runAsUser=0),
seccompProfile (pod or container "volume-permissions" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")