Skip to content

Commit

Permalink
Helm: Skip recursive permission change (#1744)
Browse files Browse the repository at this point in the history
Skip recursive permission change
  • Loading branch information
cniackz authored Aug 29, 2023
1 parent 0f68876 commit daa32d3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion helm/tenant/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,15 @@ tenant:
affinity: { }
## Configure resource requests and limits for MinIO containers
resources: { }
## Configure security context
## Configure Pod's security context
## We recommend to skip the recursive permission change by using
## fsGroupChangePolicy as OnRootMismatch because it can be pretty
## expensive for larger volumes with lots of small files.
securityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: "OnRootMismatch"
runAsNonRoot: true
## Configure container security context
containerSecurityContext:
Expand Down

0 comments on commit daa32d3

Please sign in to comment.