k8s-manifests/jupyter/base/charts/jupyterhub/templates/hub/serviceaccount.yaml

13 lines
345 B
YAML
Raw Permalink Normal View History

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