mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
add extraEnv to set extra environment variables in container, useful for outbound proxy (#16343)
Signed-off-by: Hang Xie <7977860+hangxie@users.noreply.github.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
3d4f92ab9d
commit
cc9be4fba3
@@ -1,5 +1,5 @@
|
||||
name: oauth2-proxy
|
||||
version: 0.14.0
|
||||
version: 0.14.1
|
||||
apiVersion: v1
|
||||
appVersion: 3.2.0
|
||||
home: http://www.videntity.com/
|
||||
|
||||
@@ -52,6 +52,7 @@ Parameter | Description | Default
|
||||
`config.google.serviceAccountJson` | google service account json contents | `""`
|
||||
`config.google.existingConfig` | existing Kubernetes configmap to use for the service account file. See [google secret template](https://github.com/helm/charts/blob/master/stable/oauth2-proxy/templates/google-secret.yaml) for the required values | `nil`
|
||||
`extraArgs` | key:value list of extra arguments to give the binary | `{}`
|
||||
`extraEnv` | key:value list of extra environment variables to give the binary | `[]`
|
||||
`htpasswdFile.enabled` | enable htpasswd-file option | `false`
|
||||
`htpasswdFile.entries` | list of [SHA encrypted user:passwords](https://pusher.github.io/oauth2_proxy/configuration#command-line-options) | `{}`
|
||||
`htpasswdFile.existingSecret` | existing Kubernetes secret to use for OAuth2 htpasswd file` | `""`
|
||||
|
||||
@@ -81,6 +81,9 @@ spec:
|
||||
secretKeyRef:
|
||||
name: {{ template "oauth2-proxy.secretName" . }}
|
||||
key: cookie-secret
|
||||
{{- if .Values.extraEnv }}
|
||||
{{ toYaml .Values.extraEnv | indent 8 }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- containerPort: 4180
|
||||
name: http
|
||||
|
||||
@@ -40,6 +40,7 @@ image:
|
||||
# - name: myRegistryKeySecretName
|
||||
|
||||
extraArgs: {}
|
||||
extraEnv: []
|
||||
|
||||
# To authorize individual email addresses
|
||||
# That is part of extraArgs but since this needs special treatment we need to do a separate section
|
||||
|
||||
Reference in New Issue
Block a user