Skip to content

Commit

Permalink
fix scopes to not come from an existing secret, as it's typically not…
Browse files Browse the repository at this point in the history
… private info (#22)
  • Loading branch information
jessebot committed Aug 30, 2023
1 parent 20149e4 commit 5fa65cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/vouch/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ keywords:
- sso
- sso-login

version: 4.0.1
version: 4.1.0

# renovate: image=quay.io/vouch/vouch-proxy
appVersion: "0.39"
Expand Down
2 changes: 1 addition & 1 deletion charts/vouch/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# vouch

![Version: 4.0.1](https://img.shields.io/badge/Version-4.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.39](https://img.shields.io/badge/AppVersion-0.39-informational?style=flat-square)
![Version: 4.1.0](https://img.shields.io/badge/Version-4.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.39](https://img.shields.io/badge/AppVersion-0.39-informational?style=flat-square)

An SSO and OAuth login solution for nginx using the auth_request module.

Expand Down
5 changes: 1 addition & 4 deletions charts/vouch/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,7 @@ spec:
{{- end }}
{{- if .Values.config.oauth.scopes }}
- name: OAUTH_SCOPES
valueFrom:
secretKeyRef:
name: {{ .Release.Name }}
key: scopes
value: .Values.config.oauth.scopes
{{- end }}
{{- if or .Values.config.oauth.preferredDomain (and .Values.config.oauth.existingSecret .Values.config.oauth.secretKeys.preferredDomain ) }}
- name: OAUTH_PREFERREDDOMAIN
Expand Down

0 comments on commit 5fa65cf

Please sign in to comment.