Skip to content

Commit

Permalink
Merge pull request #618 from consideRatio/fix-comment-bug
Browse files Browse the repository at this point in the history
{# comments #} replaced with # comments
  • Loading branch information
yuvipanda authored Apr 1, 2018
2 parents 92f994c + 9311811 commit d7d7a58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jupyterhub/templates/hub/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit d7d7a58

Please sign in to comment.