Skip to content

Commit

Permalink
fix(authelia): only render redis ha nodes when defined (#35)
Browse files Browse the repository at this point in the history
Previously this would render nodes with a list on a new line instead of rendering it on the same line. This change means it wont be rendered at all.
  • Loading branch information
james-d-elliott authored Apr 4, 2021
1 parent bebaf7a commit 276d769
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/authelia/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: authelia
version: 0.3.7
version: 0.3.8
kubeVersion: ">= 1.13.0-0"
description: Authelia is a Single Sign-On Multi-Factor portal for web apps
type: application
Expand Down
2 changes: 2 additions & 0 deletions charts/authelia/templates/configMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ data:
{{- if $session.redis.high_availability.enabled }}
high_availability:
sentinel_name: {{ $session.redis.high_availability.sentinel_name }}
{{- if $session.redis.high_availability.nodes }}
nodes: {{ toYaml $session.redis.high_availability.nodes | nindent 10 }}
{{- end }}
route_by_latency: {{ $session.redis.high_availability.route_by_latency }}
route_randomly: {{ $session.redis.high_availability.route_randomly }}
{{- end }}
Expand Down

0 comments on commit 276d769

Please sign in to comment.