optimize extraPodSpec style for pod tpl (#13110)

Signed-off-by: cleverhu <shouping.hu@daocloud.io>

Signed-off-by: cleverhu <shouping.hu@daocloud.io>
This commit is contained in:
cleverhu
2022-10-26 17:11:04 +08:00
committed by GitHub
parent 82803bec66
commit a39e51ee24
2 changed files with 2 additions and 2 deletions

View File

@@ -26,4 +26,4 @@ name: tomcat
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/tomcat
- http://tomcat.apache.org
version: 10.4.8
version: 10.4.9

View File

@@ -191,6 +191,6 @@ volumes:
{{- include "common.tplvalues.render" (dict "value" .Values.extraVolumes "context" $) | nindent 2 }}
{{- end }}
{{- if .Values.extraPodSpec }}
{{ include "common.tplvalues.render" (dict "value" .Values.extraPodSpec "context" $) }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraPodSpec "context" $) | nindent 0}}
{{- end }}
{{- end -}}