Skip to content

Commit

Permalink
only set spec.replicas in Nextcloud deployment if .Values.hpa.enabled…
Browse files Browse the repository at this point in the history
… is set to false

Signed-off-by: jessebot <[email protected]>
  • Loading branch information
jessebot committed Jul 23, 2024
1 parent b197057 commit f55c529
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/nextcloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: nextcloud
version: 5.2.2
version: 5.3.0
appVersion: 29.0.3
description: A file sharing server that puts the control and security of your own data back into your hands.
keywords:
Expand Down
2 changes: 2 additions & 0 deletions charts/nextcloud/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if not .Values.hpa.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
strategy:
{{- toYaml .Values.nextcloud.strategy | nindent 4 }}
selector:
Expand Down

0 comments on commit f55c529

Please sign in to comment.