Skip to content

Commit

Permalink
NO-JIRA fix pod security context not being evaluated
Browse files Browse the repository at this point in the history
  • Loading branch information
jCOTINEAU authored Feb 21, 2024
1 parent d40604c commit 9f54ebc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/sonarqube-dce/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All changes to this chart will be documented in this file.
* Update Chart's version to 10.5.0
* Update nginx-ingress-controller dependency to version 4.9.1
* Fix the ingress.ingressClassName not being evaluated
* Fix searchNodes.securityContext and ApplicationNodes.securityContext not being evaluated

## [10.4.0]
* Upgrade SonarQube to 10.4.0
Expand Down
2 changes: 2 additions & 0 deletions charts/sonarqube-dce/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ annotations:
description: "Update nginx-ingress-controller dependency to version 4.9.1"
- kind: fixed
description: "Fix the ingress.ingressClassName not being evaluated"
- kind: fixed
description: "Fix searchNodes.securityContext and ApplicationNodes.securityContext not being evaluated"
artifacthub.io/links: |
- name: support
url: https://community.sonarsource.com/
Expand Down
2 changes: 2 additions & 0 deletions charts/sonarqube-dce/templates/sonarqube-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ spec:
{{- . | toYaml | trim | nindent 12 }}
{{- end }}
{{- end }}
securityContext:
{{- toYaml .Values.ApplicationNodes.securityContext | nindent 8 }}
containers:
{{- if .Values.ApplicationNodes.extraContainers }}
{{- toYaml .Values.ApplicationNodes.extraContainers | nindent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/sonarqube-dce/templates/sonarqube-search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ spec:
- mountPath: /tmp
name: tmp-dir
{{- end }}
securityContext:
{{- toYaml .Values.searchNodes.securityContext | nindent 8 }}
containers:
{{- if .Values.searchNodes.extraContainers }}
{{- toYaml .Values.searchNodes.extraContainers | nindent 8 }}
Expand Down

0 comments on commit 9f54ebc

Please sign in to comment.