Fix rendering of customInitContainers and lifecycle for Jenkins helm chart (#13189)

Signed-off-by: Ian Paredes <cp@redbluemagenta.com>
This commit is contained in:
Ian Paredes
2019-04-22 23:22:08 -07:00
committed by Kubernetes Prow Robot
parent 37614efca4
commit e8f6b0ada2
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: jenkins
home: https://jenkins.io/
version: 1.1.0
version: 1.1.1
appVersion: lts
description: Open source continuous integration server. It supports multiple SCM tools
including CVS, Subversion and Git. It can execute Apache Ant and Apache Maven-based
@@ -77,9 +77,9 @@ spec:
{{- toYaml .Values.master.hostAliases | nindent 8 }}
{{- end }}
initContainers:
{{- if .Values.master.customInitContainers }}
{{ toYaml .Values.master.customInitContainers | indent 8 }}
{{- end }}
{{- if .Values.master.customInitContainers }}
{{ toYaml .Values.master.customInitContainers | indent 8 }}
{{- end }}
- name: "copy-default-config"
image: "{{ .Values.master.image }}:{{ .Values.master.imageTag }}"
imagePullPolicy: "{{ .Values.master.imagePullPolicy }}"
@@ -153,7 +153,7 @@ spec:
{{- end }}
{{- if .Values.master.lifecycle }}
lifecycle:
{{ toYaml .Values.master.lifecycle | indent 12 }}
{{ toYaml .Values.master.lifecycle | indent 12 }}
{{- end }}
env:
- name: JAVA_OPTS