1 {{- if not .Values.config.existingConfig }}
2 {{- if .Values.config.configFile }}
6 {{- if .Values.config.annotations }}
8 {{ toYaml .Values.config.annotations | indent 4 }}
11 app: {{ template "oauth2-proxy.name" . }}
12 {{- include "oauth2-proxy.labels" . | indent 4 }}
13 name: {{ template "oauth2-proxy.fullname" . }}
15 oauth2_proxy.cfg: {{ tpl .Values.config.configFile $ | quote }}