k8s-manifests/jupyter/base/charts/jupyterhub/templates/scheduling/user-scheduler/serviceaccount.yaml
Micke Nordin 324724c3b1
Jupytherhub:
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 .
```
2023-09-25 16:29:56 +02:00

15 lines
461 B
YAML

{{- if .Values.scheduling.userScheduler.enabled -}}
{{- if .Values.scheduling.userScheduler.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "jupyterhub.user-scheduler-serviceaccount.fullname" . }}
labels:
{{- include "jupyterhub.labels" . | nindent 4 }}
{{- with .Values.scheduling.userScheduler.serviceAccount.annotations }}
annotations:
{{- . | toYaml | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}