1 {{- if or .Values.serviceAccount.enabled -}}
5 {{- with .Values.serviceAccount.annotations }}
7 {{- toYaml . | nindent 4 }}
10 app: {{ template "oauth2-proxy.name" . }}
11 {{- include "oauth2-proxy.labels" . | indent 4 }}
12 name: {{ template "oauth2-proxy.serviceAccountName" . }}
13 automountServiceAccountToken : {{ .Values.serviceAccount.automountServiceAccountToken }}