Skip to content

Commit

Permalink
Merge pull request #27 from mischmi2/master
Browse files Browse the repository at this point in the history
Adding extraEnvVars option to add environment variables to the vouch deployment
  • Loading branch information
punkle authored Jul 8, 2022
2 parents 275d596 + 8edca23 commit 3c5ef6c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/vouch/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
type: application
appVersion: "0.36"
version: 3.0.7
version: 3.1.0
name: vouch
description: An SSO and OAuth login solution for nginx using the auth_request module.
icon: https://avatars0.githubusercontent.com/u/45102943?s=200&v=4
Expand Down
4 changes: 4 additions & 0 deletions charts/vouch/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
## Changelog

3.1.0
* Add extraEnvVars option to add env variables to the vouch deployment

3.0.7
* Fix the README.md file. It's no longer a template.

3.0.6
* Allow vouch-proxy to default the secret at startup


2.0.0
* Require Vouch secret to be set (#8 thanks @punkle)
* Add image command and args in deployment template (#6 thanks @tidalf)
Expand Down
4 changes: 4 additions & 0 deletions charts/vouch/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ spec:
env:
- name: VOUCH_PORT
value: {{ .Values.config.vouch.port | quote }}
{{- range .Values.extraEnvVars }}
- name: {{ .name }}
value: {{ .value | quote }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.config.vouch.port }}
Expand Down
7 changes: 7 additions & 0 deletions charts/vouch/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,10 @@ config:

# existingSecretName -- Allow overriding the config value with an existing secret, like a sealed secret
existingSecretName: ""

# An array to add extra environment variables
# Example:
# extraEnvVars:
# - name: HTTPS_PROXY
# value: "https://example.com"
extraEnvVars: []

0 comments on commit 3c5ef6c

Please sign in to comment.