Skip to content

Commit

Permalink
Merge pull request #1721 from consideRatio/fix-jupyterhub-services-wi…
Browse files Browse the repository at this point in the history
…thout-api-token

fix: jupyterhub services without apiToken was ignored
  • Loading branch information
consideRatio authored Jul 16, 2020
2 parents d9b73c5 + 1ce17ed commit bef1eaa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions jupyterhub/templates/hub/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ data:
{{- $_ := set $values "hub" (omit $values.hub "cookieSecret" "extraEnv" "extraConfigMap") -}}
{{- $_ := set $values.hub "services" dict }}
{{- range $key, $service := .Values.hub.services }}
{{- if $service.apiToken }}
{{- $_ := set $values.hub.services $key (omit $service "apiToken") }}
{{- end }}
{{- $_ := set $values.hub.services $key (omit $service "apiToken") }}
{{- end }}
{{- /* copy values.singleuser */ -}}
{{- $_ := set $values "singleuser" (omit .Values.singleuser "imagePullSecret") }}
Expand Down

0 comments on commit bef1eaa

Please sign in to comment.