Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / platform / components / oauth2-proxy / components / oauth2-proxy / templates / serviceaccount.yaml
1 {{- if or .Values.serviceAccount.enabled -}}
2 apiVersion: v1
3 kind: ServiceAccount
4 metadata:
5   {{- with .Values.serviceAccount.annotations }}
6   annotations:
7     {{- toYaml . | nindent 4 }}
8   {{- end }}
9   labels:
10     app: {{ template "oauth2-proxy.name" . }}
11 {{- include "oauth2-proxy.labels" . | indent 4 }}
12   name: {{ template "oauth2-proxy.serviceAccountName" . }}
13 automountServiceAccountToken : {{ .Values.serviceAccount.automountServiceAccountToken }}
14 {{- end -}}