Skip to content

Commit

Permalink
Fix DEX enabled flag (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfespa17 authored May 17, 2023
1 parent 22eff9b commit 5714045
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/terrakube/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.5.0
version: 3.5.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -36,7 +36,7 @@ dependencies:

- name: dex
version: "0.13.0"
# condition: dex.enabled Dex should alway be enable to work
condition: dex.enabled
repository: "https://charts.dexidp.io"

- name: redis
Expand Down
2 changes: 1 addition & 1 deletion charts/terrakube/templates/ingress-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
- {{ .Values.ingress.api.domain | quote }}
secretName: {{ .Values.ingress.api.tlsSecretName }}
{{ end }}
{{- if and .Values.ingress.api.enabled .Values.ingress.dex.enabled }}
{{- if and .Values.ingress.api.enabled .Values.ingress.dex.enabled .Values.ingress.dex.enabled }}
rules:
- host: {{ .Values.ingress.api.domain | quote }}
http:
Expand Down

0 comments on commit 5714045

Please sign in to comment.