Skip to content

Commit

Permalink
make registry-init privileged v2
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel committed Apr 30, 2024
1 parent f2a5a89 commit 1138fad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/serverless/charts/docker-registry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ initContainers:
# this is required to allow the initContainer to chmod the volumemount for the registry storage volume. This is incompatible with the security requirements above and should be fixed in the future.
runAsUser: 0
runAsGroup: 0
privileged: false
privileged: true # TODO: remove this field after resolving TODO in the init container
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
Expand Down
2 changes: 1 addition & 1 deletion config/serverless/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ pod:
containers:
daemonset:
initContainerSecurityContext:
privileged: true # TODO: remove this field after resolving TODO in the init container
privileged: false
allowPrivilegeEscalation: false
runAsUser: 0
containerSecurityContext:
Expand Down

0 comments on commit 1138fad

Please sign in to comment.