Skip to content

Commit

Permalink
SONAR-23627 address reviewer comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jCOTINEAU committed Nov 20, 2024
1 parent 6ebfaa0 commit 8630c1a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions charts/sonarqube-dce/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,8 @@ networkPolicy:
# additionalNetworkPolicies:

initContainers:
# image: ubuntu:24.04
# all initContainers use SonarQube image by default, but you can override it by setting the image field (ex image: ubuntu:24.04)
# image:
# Set the security context for the init containers
# The current section contains the default values set in a generic Kubernetes cluster. If you are using OpenShift, you should not set any specific UID or GID to be used for the execution.
# We allow the init containers to have a separate security context declaration because
Expand Down Expand Up @@ -613,7 +614,8 @@ initSysctl:
fsFileMax: 131072
nofile: 131072
nproc: 8192
# image: ubuntu:24.04
# all initContainers use SonarQube image by default, but you can override it by setting the image field (ex image: ubuntu:24.04)
# image:
securityContext:
# Compatible with podSecurity standard privileged
privileged: true
Expand All @@ -624,7 +626,8 @@ initSysctl:

initFs:
enabled: true
# image: ubuntu:24.04
# all initContainers use SonarQube image by default, but you can override it by setting the image field (ex image: ubuntu:24.04)
# image:
# Compatible with podSecurity standard baseline
securityContext:
privileged: false
Expand Down
9 changes: 6 additions & 3 deletions charts/sonarqube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ startupProbe:
# sonarWebContext: /

initContainers:
# image: ubuntu:24.04
# all initContainers use SonarQube image by default, but you can override it by setting the image field (ex image: ubuntu:24.04)
# image:
# Set the security context for the init containers
# The current section contains the default values set in a generic Kubernetes cluster. If you are using OpenShift, you should not set any specific UID or GID to be used for the execution.
# We allow the init containers to have a separate security context declaration because
Expand Down Expand Up @@ -320,7 +321,8 @@ initSysctl:
fsFileMax: 131072
nofile: 131072
nproc: 8192
# image: ubuntu:24.04
# all initContainers use SonarQube image by default, but you can override it by setting the image field (ex image: ubuntu:24.04)
# image:
securityContext:
# Compatible with podSecurity standard privileged
privileged: true
Expand All @@ -332,7 +334,8 @@ initSysctl:
# This should not be required anymore, used to chown/chmod folder created by faulty CSI driver that are not applying properly POSIX fsgroup.
initFs:
enabled: true
# image: ubuntu:24.04
# all initContainers use SonarQube image by default, but you can override it by setting the image field (ex image: ubuntu:24.04)
# image:
# Compatible with podSecurity standard baseline.
securityContext:
privileged: false
Expand Down

0 comments on commit 8630c1a

Please sign in to comment.