Skip to content

Commit d192909

Browse files
committed
Refactor indent
1 parent 865e353 commit d192909

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
@@ -292,21 +292,21 @@ imagePullSecrets:
292292
{{/* Environment variables required for invoker volumes configuration */}}
293293
{{- define "openwhisk.invoker.volumes" -}}
294294
{{- if eq .Values.invoker.containerFactory.impl "docker" }}
295-
{{ include "openwhisk.docker_volumes" . | indent 6 }}
296-
- name: scripts-dir
297-
configMap:
298-
name: {{ .Release.Name }}-invoker-scripts
295+
{{ include "openwhisk.docker_volumes" . }}
296+
- name: scripts-dir
297+
configMap:
298+
name: {{ .Release.Name }}-invoker-scripts
299299
{{- end }}
300300
{{- end }}
301301

302302
{{/* Environment variables required for invoker volumes configuration */}}
303303
{{- define "openwhisk.invoker.volume_mounts" -}}
304304
{{- if (eq .Values.invoker.containerFactory.impl "docker") }}
305-
{{ include "openwhisk.docker_volume_mounts" . | indent 8 }}
305+
{{ include "openwhisk.docker_volume_mounts" . }}
306306
{{- if .Values.invoker.containerFactory.networkConfig.dns.inheritInvokerConfig }}
307-
- name: scripts-dir
308-
mountPath: "/invoker-scripts/configureDNS.sh"
309-
subPath: "configureDNS.sh"
307+
- name: scripts-dir
308+
mountPath: "/invoker-scripts/configureDNS.sh"
309+
subPath: "configureDNS.sh"
310310
{{- end }}
311311
{{- end }}
312312
{{- end }}

helm/openwhisk/templates/controller-pod.yaml

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

@@ -104,7 +104,7 @@ spec:
104104
mountPath: "/conf/jmxremote.password"
105105
subPath: "jmxremote.password"
106106
{{- if .Values.controller.lean }}
107-
{{ include "openwhisk.invoker.volume_mounts" . }}
107+
{{ include "openwhisk.invoker.volume_mounts" . | indent 8 }}
108108
{{- end }}
109109
livenessProbe:
110110
httpGet:

helm/openwhisk/templates/invoker-pod.yaml

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

7777
initContainers:
7878
{{- if eq .Values.invoker.containerFactory.impl "docker" }}
@@ -228,5 +228,5 @@ spec:
228228
- name: jmxremote-secret
229229
mountPath: "/conf/jmxremote.password"
230230
subPath: "jmxremote.password"
231-
{{ include "openwhisk.invoker.volume_mounts" . }}
231+
{{ include "openwhisk.invoker.volume_mounts" . | indent 8 }}
232232
{{- end }}

0 commit comments

Comments
 (0)