Skip to content

Commit f1a3970

Browse files
committed
improve spacing in templates
1 parent a9e582f commit f1a3970

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

templates/_helpers.tpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ Create the name of the stackstorm-ha service account to use
124124
{{- define "pack-configs-volume" -}}
125125
{{- if and .Values.st2.packs.volumes.enabled .Values.st2.packs.volumes.configs }}
126126
- name: st2-pack-configs-vol
127-
{{ toYaml .Values.st2.packs.volumes.configs | indent 2 }}
128-
{{- if .Values.st2.packs.configs }}
127+
{{- toYaml .Values.st2.packs.volumes.configs | nindent 2 }}
128+
{{- if .Values.st2.packs.configs }}
129129
- name: st2-pack-configs-from-helm-vol
130130
configMap:
131131
name: {{ .Release.Name }}-st2-pack-configs
132-
{{- end }}
132+
{{- end }}
133133
{{- else }}
134134
- name: st2-pack-configs-vol
135135
configMap:
@@ -149,9 +149,9 @@ Create the name of the stackstorm-ha service account to use
149149
{{- define "packs-volumes" -}}
150150
{{- if .Values.st2.packs.volumes.enabled }}
151151
- name: st2-packs-vol
152-
{{ toYaml .Values.st2.packs.volumes.packs | indent 2 }}
152+
{{- toYaml .Values.st2.packs.volumes.packs | nindent 2 }}
153153
- name: st2-virtualenvs-vol
154-
{{ toYaml .Values.st2.packs.volumes.virtualenvs | indent 2 }}
154+
{{- toYaml .Values.st2.packs.volumes.virtualenvs | nindent 2 }}
155155
{{- else if .Values.st2.packs.images }}
156156
- name: st2-packs-vol
157157
emptyDir: {}

0 commit comments

Comments
 (0)