@@ -23,6 +23,11 @@ config:
2323 clientID : " XXXXXXX"
2424 # OAuth client secret
2525 clientSecret : " XXXXXXXX"
26+ # Custom secret name instead of generating one with 'clientID', 'clientSecret' and 'cookieSecret'.
27+ # Secret keys must be the one provided with 'requiredSecretKeys' below.
28+ # Mutually exclusive with 'clientID', 'clientSecret' and 'cookieSecret'.
29+ # Supports Helm templating, e.g. '{{ .Release.Name }}-secret' or '{{ include "myapp.oauth2-proxy.secretName" . }}'
30+ existingSecret : ~
2631 # List of secret keys to include in the secret and expose as environment variables.
2732 # By default, all three secrets are required. To exclude certain secrets
2833 # (e.g., when using federated token authentication), remove them from this list.
@@ -135,8 +140,10 @@ config:
135140 # Use an existing config map (see configmap.yaml for required fields)
136141 # This is ignored when alphaConfig.enabled=true and
137142 # forceLegacyConfig=false.
143+ # Supports Helm templating, e.g. '{{ .Release.Name }}-config' or '{{ include "myapp.oauth2-proxy.configName" . }}'
138144 # Example:
139145 # existingConfig: config
146+ # existingConfig: '{{ .Release.Name }}-config'
140147 existingConfig : ~
141148
142149alphaConfig :
@@ -182,10 +189,12 @@ alphaConfig:
182189 # Use an existing config map (see secret-alpha.yaml for required fields).
183190 # Mutually exclusive with existingSecret and all generated alpha config
184191 # content options (serverConfigData, metricsConfigData, configData, configFile).
192+ # Supports Helm templating, e.g. '{{ .Release.Name }}-config' or '{{ include "myapp.oauth2-proxy.configName" . }}'
185193 existingConfig : ~
186194 # Use an existing secret.
187195 # Mutually exclusive with existingConfig and all generated alpha config
188196 # content options (serverConfigData, metricsConfigData, configData, configFile).
197+ # Supports Helm templating, e.g. '{{ .Release.Name }}-secret' or '{{ include "myapp.oauth2-proxy.secretName" . }}'
189198 existingSecret : ~
190199 #
191200 # NOTE: When using alphaConfig with external secrets (e.g., Azure
0 commit comments