Skip to content

Commit

Permalink
Update values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mtcolman committed Nov 14, 2020
1 parent 13aa4fb commit 6639d7a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions charts/sonarqube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,17 +263,20 @@ postgresql:
size: 20Gi
storageClass:
securityContext:
# enabled needs to false for OpenShift restricted SCC and true for OpenShift anyuid/nonroot SCC
enabled: false
# For standard Kubernetes deployment, set enabled=true
# If using OpenShift, enabled=false for restricted SCC and enabled=true for anyuid/nonroot SCC
enabled: true
# fsGroup and runAsUser specifications below are not applied if enabled=false. enabled=false is the required setting for OpenShift "restricted SCC" to work successfully.
# postgresql dockerfile sets user as 1001
fsGroup: 1001
runAsUser: 1001
volumePermissions:
enabled: true
# For standard Kubernetes deployment, set enabled=false
# For OpenShift, set enabled=true and ensure to set volumepermissions.securitycontext.runAsUser below.
enabled: false
# if using restricted SCC set runAsUser: "auto" and if running under anyuid/nonroot SCC - runAsUser needs to match runAsUser above
securityContext:
runAsUser: "auto"
runAsUser: 0
shmVolume:
chmod:
enabled: false
Expand Down

0 comments on commit 6639d7a

Please sign in to comment.