Skip to content

Commit

Permalink
fix(authelia): limit replicas to StatefulSet and Deployment (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
wrmilling authored Oct 8, 2021
1 parent 4280ebd commit f709d94
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.6.2
version: 0.6.3
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/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ spec:
selector:
matchLabels: {{ include "authelia.matchLabels" . | nindent 6 }}
revisionHistoryLimit: {{ default 5 .Values.pod.revisionHistoryLimit }}
{{- if or (eq "StatefulSet" $kind) (eq "Deployment" $kind) }}
replicas: {{ include "authelia.replicas" . }}
{{- end }}
{{- if or (eq "Deployment" $kind) (eq "DaemonSet" $kind) }}
minReadySeconds: {{ default 0 .Values.pod.minReadySeconds }}
{{- end }}
Expand Down

0 comments on commit f709d94

Please sign in to comment.