Skip to content

Commit

Permalink
fixed epinio-ui deployment with disabled dex (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
enrichman authored Feb 22, 2023
1 parent f49be99 commit 37b264f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chart/epinio-ui/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ name: epinio-ui
sources:
- https://github.com/epinio/ui
type: application
version: 1.7.0
version: 1.7.1
8 changes: 5 additions & 3 deletions chart/epinio-ui/templates/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,19 @@ spec:
value: {{ default (printf "https://epinio.%s" .Values.global.domain) .Values.epinioUI.uiURL }}
- name: EPINIO_API_SKIP_SSL
value: {{ (default "false" .Values.epinioUI.apiSkipSSL) | quote }}
- name: EPINIO_DEX_AUTH_URL
value: {{ default (printf "https://auth.%s" .Values.global.domain) .Values.epinioUI.dexURL }}
- name: EPINIO_THEME
value: {{ (default "light" .Values.epinioUI.theme) | quote }}
{{- if .Values.global.dex.enabled }}
- name: EPINIO_DEX_AUTH_URL
value: {{ default (printf "https://auth.%s" .Values.global.domain) .Values.epinioUI.dexURL }}
- name: EPINIO_DEX_ENABLED
value: {{ (default false .Values.global.dex.enabled) | quote }}
value: "true"
- name: EPINIO_DEX_SECRET
valueFrom:
secretKeyRef:
name: dex-config
key: uiClientSecret
{{- end }}
- name: HTTP_CLIENT_TIMEOUT_IN_SECS
value: "120"
- name: SESSION_STORE_SECRET
Expand Down

0 comments on commit 37b264f

Please sign in to comment.