Skip to content

Commit

Permalink
fix(venona-helm-chart/ci): add rootless check
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-klimko committed Nov 18, 2024
1 parent 468de3e commit f4b0dfe
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions charts/cf-runtime/.ci/values-rootless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ volumeProvisioner:
image:
tag: 1.30.0-rootless
digest: sha256:712e549e6e843b04684647f17e0973f8047e0d60e6e8b38a693ea64dc75b0479
podSecurityContext:
enabled: true
containerSecurityContext:
runAsUser: 1000
podSecurityContext:
fsGroup: 1000
fsGroupChangePolicy: "OnRootMismatch"
volumePermissions:
enabled: true

Expand All @@ -20,12 +21,11 @@ runtime:
userVolumeMounts:
dind:
name: dind
mountPath: /home/rootless/
mountPath: /home/rootless/.local/share/docker
containerSecurityContext:
privileged: true
podSecurityContext:
enabled: true
runAsUser: 1000
podSecurityContext:
fsGroup: 1000
fsGroupChangePolicy: "OnRootMismatch"
volumePermissions:
Expand Down
2 changes: 1 addition & 1 deletion charts/cf-runtime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ runtime:
userVolumeMounts:
dind:
name: dind
mountPath: /home/rootless/
mountPath: /home/rootless/.local/share/docker
containerSecurityContext:
privileged: true
runAsUser: 1000
Expand Down
2 changes: 1 addition & 1 deletion charts/cf-runtime/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ runtime:
userVolumeMounts:
dind:
name: dind
mountPath: /home/rootless/
mountPath: /home/rootless/.local/share/docker
containerSecurityContext:
privileged: true
runAsUser: 1000
Expand Down
2 changes: 1 addition & 1 deletion charts/cf-runtime/values-rootless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runtime:
userVolumeMounts:
dind:
name: dind
mountPath: /home/rootless/
mountPath: /home/rootless/.local/share/docker
containerSecurityContext:
privileged: true
runAsUser: 1000
Expand Down

0 comments on commit f4b0dfe

Please sign in to comment.