[bitnami/tomcat] Fix extraVolumes parameter (#8684)

* [bitnami/tomcat] Fix extraVolumes parameter

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Fix extraVolumeMounts indent

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
This commit is contained in:
Miguel Ruiz
2022-01-19 09:07:56 +01:00
committed by GitHub
parent ad4b802daf
commit 6b2cba8839
2 changed files with 2 additions and 5 deletions

View File

@@ -26,4 +26,4 @@ name: tomcat
sources:
- https://github.com/bitnami/bitnami-docker-tomcat
- http://tomcat.apache.org
version: 10.1.2
version: 10.1.3

View File

@@ -133,7 +133,7 @@ containers:
- name: data
mountPath: /bitnami/tomcat
{{- if .Values.extraVolumeMounts }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraVolumeMounts "context" $) | nindent 4 }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraVolumeMounts "context" $) | nindent 6 }}
{{- end }}
{{- if .Values.sidecars }}
{{ include "common.tplvalues.render" ( dict "value" .Values.sidecars "context" $) }}
@@ -181,9 +181,6 @@ volumes:
{{- if .Values.extraVolumes }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraVolumes "context" $) | nindent 2 }}
{{- end }}
{{- if .Values.extraVolumes }}
{{ include "common.tplvalues.render" (dict "value" .Values.extraVolumes "context" $) }}
{{- end }}
{{- if .Values.extraPodSpec }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraPodSpec "context" $) }}
{{- end }}