diff --git a/jupyterhub/templates/hub/deployment.yaml b/jupyterhub/templates/hub/deployment.yaml index bf9d9cbdd2..edc81d6bf8 100644 --- a/jupyterhub/templates/hub/deployment.yaml +++ b/jupyterhub/templates/hub/deployment.yaml @@ -133,11 +133,11 @@ spec: key: proxy.token {{ if .Values.hub.extraEnv -}} {{ $extraEnvType := typeOf .Values.hub.extraEnv -}} - {# If we have a list, embed that here directly. This allows for complex configuration from configmap, downward API, etc #} + {{/* If we have a list, embed that here directly. This allows for complex configuration from configmap, downward API, etc. */}} {{ if eq $extraEnvType "[]interface {}" -}} {{ toYaml .Values.hub.extraEnv | indent 8 }} {{ else if eq $extraEnvType "map[string]interface {}" -}} - {# If we have a map, treat those as key-value pairs #} + {{/* If we have a map, treat those as key-value pairs. */}} {{ range $key, $value := .Values.hub.extraEnv }} - name: {{ $key | quote }} value: {{ $value | quote }}