Skip to content

Commit 8ba2837

Browse files
committed
Prefer use of toYaml over range
1 parent eac32d7 commit 8ba2837

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

jupyterhub/templates/proxy/service.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ spec:
8282
{{- end }}
8383
{{- end }}
8484
{{- with .Values.proxy.service.externalIPs }}
85-
externalIPs: {{- range . }}
86-
- {{ . }}
87-
{{- end }}
85+
externalIPs:
86+
{{- . | toYaml | nindent 4 }}
8887
{{- end }}

0 commit comments

Comments
 (0)