Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / platform / components / oauth2-proxy / components / oauth2-proxy / templates / configmap.yaml
1 {{- if not .Values.config.existingConfig }}
2 {{- if .Values.config.configFile }}
3 apiVersion: v1
4 kind: ConfigMap
5 metadata:
6 {{- if .Values.config.annotations }}
7   annotations:
8 {{ toYaml .Values.config.annotations | indent 4 }}
9 {{- end }}
10   labels:
11     app: {{ template "oauth2-proxy.name" . }}
12 {{- include "oauth2-proxy.labels" . | indent 4 }}
13   name: {{ template "oauth2-proxy.fullname" . }}
14 data:
15   oauth2_proxy.cfg: {{ tpl .Values.config.configFile $ | quote }}
16 {{- end }}
17 {{- end }}