Skip to content

Commit

Permalink
chart: fix a bug introduced by bypassSecrets where when oidc is enabl…
Browse files Browse the repository at this point in the history
…ed, the secret for oidc is no longer created, but its mount in the deployment still exists
  • Loading branch information
goshlanguage committed Dec 10, 2021
1 parent f14e5c4 commit 6c9cf99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/nebraska/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sources:
maintainers:
- name: kinvolk
url: https://kinvolk.io/
version: 0.1.10
version: 0.1.11
appVersion: "2.5.1"

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion charts/nebraska/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ spec:
value: "{{ .Values.config.auth.github.enterpriseURL }}"
{{- end }}
{{- end }}
{{- if eq .Values.config.auth.mode "oidc" }}
{{- if and (eq .Values.config.auth.mode "oidc") (ne .Values.config.auth.bypassSecrets true) }}
- name: "NEBRASKA_OIDC_CLIENT_ID"
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit 6c9cf99

Please sign in to comment.