Skip to content

Commit

Permalink
Merge pull request #1553 from facchettos/k8s-run-asroot
Browse files Browse the repository at this point in the history
added defaults for k8s to run the syncer as root, to follow k3s
  • Loading branch information
FabianKramm authored Feb 27, 2024
2 parents 8d9ea29 + 77defcb commit 957c1dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion charts/eks/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,10 @@ syncer:
kubeConfigContextName: "my-vcluster"
# Security context configuration
securityContext: {}
podSecurityContext: {}
podSecurityContext:
allowPrivilegeEscalation: false
runAsUser: 0
runAsGroup: 0
serviceAnnotations: {}
# Storage settings for the vcluster
storage:
Expand Down
5 changes: 4 additions & 1 deletion charts/k8s/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,10 @@ syncer:
kubeConfigContextName: "my-vcluster"
# Security context configuration
securityContext: {}
podSecurityContext: {}
podSecurityContext:
allowPrivilegeEscalation: false
runAsUser: 0
runAsGroup: 0
serviceAnnotations: {}
# Storage settings for the vcluster
storage:
Expand Down

0 comments on commit 957c1dd

Please sign in to comment.