Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / platform / components / oauth2-proxy / components / oauth2-proxy / templates / google-secret.yaml
1 {{- if and .Values.config.google (and (not .Values.config.google.existingSecret) (not .Values.config.google.useApplicationDefaultCredentials)) }}
2 apiVersion: v1
3 kind: Secret
4 metadata:
5   labels:
6     app: {{ template "oauth2-proxy.name" . }}
7 {{- include "oauth2-proxy.labels" . | indent 4 }}
8   name: {{ template "oauth2-proxy.fullname" . }}-google
9 type: Opaque
10 data:
11   service-account.json: {{ .Values.config.google.serviceAccountJson | b64enc | quote }}
12 {{- end -}}