mirror of
https://github.com/bitnami/charts.git
synced 2026-03-05 14:57:31 +08:00
[bitnami/sonarqube] Render initContainers when only plugins.install is set (#15774)
* Create initContainers if just plugins.install is set Signed-off-by: Yannik Daellenbach <daellenbach@puzzle.ch> * Bump chart version Signed-off-by: Yannik Daellenbach <daellenbach@puzzle.ch>
This commit is contained in:
committed by
GitHub
parent
653dea8c45
commit
21bde0872a
@@ -28,4 +28,4 @@ name: sonarqube
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/sonarqube
|
||||
- https://github.com/SonarSource/sonarqube
|
||||
version: 2.1.4
|
||||
version: 2.1.5
|
||||
|
||||
@@ -62,7 +62,7 @@ spec:
|
||||
{{- if .Values.podSecurityContext.enabled }}
|
||||
securityContext: {{- omit .Values.podSecurityContext "enabled" | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if or .Values.initContainers .Values.sysctl.enabled (and .Values.volumePermissions.enabled .Values.persistence.enabled) }}
|
||||
{{- if or .Values.initContainers .Values.plugins.install .Values.sysctl.enabled (and .Values.volumePermissions.enabled .Values.persistence.enabled) }}
|
||||
initContainers:
|
||||
{{- if .Values.plugins.install }}
|
||||
- name: {{ printf "%s-install-plugins-initcontainer" (include "common.names.fullname" .) }}
|
||||
|
||||
Reference in New Issue
Block a user