Skip to content

Commit

Permalink
feat(chart): improve default containerSecurityContext
Browse files Browse the repository at this point in the history
Signed-off-by: dntosas <ntosas@gmail.com>
  • Loading branch information
dntosas committed Jul 17, 2024
1 parent a1ab9cd commit 28ddcaa
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion charts/capi2argo-cluster-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,17 @@ rbac:
clusterRole: true
apiVersion: v1

containerSecurityContext: {}
containerSecurityContext:
runAsNonRoot: true
runAsUser: 1001
privileged: false
allowPrivilegeEscalation: false
seccompProfile:
type: RuntimeDefault
capabilities:
drop:
- ALL

podSecurityContext:
enabled: true
fsGroup: 1001
Expand Down

0 comments on commit 28ddcaa

Please sign in to comment.