Skip to content

Commit

Permalink
wip: Thu Nov 14 20:28:10 +03 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-klimko committed Nov 14, 2024
1 parent 7a6b488 commit 95d2fd9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/cf-runtime/values-rootless.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
volumeProvisioner:
env:
IS_ROOTLESS: true
# -- Only if local volumes are used as backend storage (ignored for ebs/ebs-csi disks)
dind-lv-monitor:
image:
tag: 1.30.0-rootless
Expand All @@ -9,6 +10,7 @@ volumeProvisioner:
enabled: true
runAsUser: 1000
fsGroup: 1000
# -- Enable initContainer to run chmod for /var/lib/codefresh/dind-volumes on host nodes
volumePermissions:
enabled: false

Expand All @@ -31,6 +33,8 @@ runtime:
enabled: true
runAsUser: 1000
fsGroup: 1000
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#configure-volume-permission-and-ownership-change-policy-for-pods
fsGroupChangePolicy: "OnRootMismatch"
# -- Enable initContainer to run chmod for /home/rootless in DinD pod
volumePermissions:
enabled: false

0 comments on commit 95d2fd9

Please sign in to comment.