Micke Nordin
324724c3b1
Export 3.0.3 like so: ``` helm repo add jupyterhub https://hub.jupyter.org/helm-chart/ helm fetch jupyterhub/jupyterhub --version 3.0.3 --untar --untardir . ```
13 lines
436 B
YAML
13 lines
436 B
YAML
{{- $HTTPS := (and .Values.proxy.https.hosts .Values.proxy.https.enabled) -}}
|
|
{{- $autoHTTPS := (and $HTTPS (eq .Values.proxy.https.type "letsencrypt")) -}}
|
|
{{- if $autoHTTPS -}}
|
|
{{- if .Values.proxy.traefik.serviceAccount.create -}}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "jupyterhub.autohttps-serviceaccount.fullname" . }}
|
|
labels:
|
|
{{- include "jupyterhub.labels" . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|