Skip to content

Commit 3d9ed58

Browse files
committed
Refactor indent
1 parent a22cb11 commit 3d9ed58

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

helm/openwhisk/templates/_helpers.tpl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -282,21 +282,21 @@ imagePullSecrets:
282282
{{/* Environment variables required for invoker volumes configuration */}}
283283
{{- define "openwhisk.invoker.volumes" -}}
284284
{{- if eq .Values.invoker.containerFactory.impl "docker" }}
285-
{{ include "openwhisk.docker_volumes" . | indent 6 }}
286-
- name: scripts-dir
287-
configMap:
288-
name: {{ .Release.Name }}-invoker-scripts
285+
{{ include "openwhisk.docker_volumes" . }}
286+
- name: scripts-dir
287+
configMap:
288+
name: {{ .Release.Name }}-invoker-scripts
289289
{{- end }}
290290
{{- end }}
291291

292292
{{/* Environment variables required for invoker volumes configuration */}}
293293
{{- define "openwhisk.invoker.volume_mounts" -}}
294294
{{- if (eq .Values.invoker.containerFactory.impl "docker") }}
295-
{{ include "openwhisk.docker_volume_mounts" . | indent 8 }}
295+
{{ include "openwhisk.docker_volume_mounts" . }}
296296
{{- if .Values.invoker.containerFactory.networkConfig.dns.inheritInvokerConfig }}
297-
- name: scripts-dir
298-
mountPath: "/invoker-scripts/configureDNS.sh"
299-
subPath: "configureDNS.sh"
297+
- name: scripts-dir
298+
mountPath: "/invoker-scripts/configureDNS.sh"
299+
subPath: "configureDNS.sh"
300300
{{- end }}
301301
{{- end }}
302302
{{- end }}

helm/openwhisk/templates/controller-pod.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ spec:
6969
secretName: {{ .Release.Name }}-jmxremote-secret
7070
# The lean controller requires invoker volumes mounts
7171
{{- if .Values.controller.lean }}
72-
{{ include "openwhisk.invoker.volumes" . }}
72+
{{ include "openwhisk.invoker.volumes" . | indent 6 }}
7373
{{- end }}
7474
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
7575

@@ -101,7 +101,7 @@ spec:
101101
mountPath: "/conf/jmxremote.password"
102102
subPath: "jmxremote.password"
103103
{{- if .Values.controller.lean }}
104-
{{ include "openwhisk.invoker.volume_mounts" . }}
104+
{{ include "openwhisk.invoker.volume_mounts" . | indent 8 }}
105105
{{- end }}
106106
livenessProbe:
107107
httpGet:

helm/openwhisk/templates/invoker-pod.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ spec:
7070
- name: jmxremote-secret
7171
secret:
7272
secretName: {{ .Release.Name }}-jmxremote-secret
73-
{{ include "openwhisk.invoker.volumes" . }}
73+
{{ include "openwhisk.invoker.volumes" . | indent 6 }}
7474

7575
initContainers:
7676
{{- if eq .Values.invoker.containerFactory.impl "docker" }}
@@ -204,5 +204,5 @@ spec:
204204
- name: jmxremote-secret
205205
mountPath: "/conf/jmxremote.password"
206206
subPath: "jmxremote.password"
207-
{{ include "openwhisk.invoker.volume_mounts" . }}
207+
{{ include "openwhisk.invoker.volume_mounts" . | indent 8 }}
208208
{{- end }}

0 commit comments

Comments
 (0)