Skip to content

Commit

Permalink
Merge pull request #110 from mikemrm/fix-replica-defaults
Browse files Browse the repository at this point in the history
remove default for replicas to allow 0 replicas
  • Loading branch information
patrickdevivo authored Feb 21, 2023
2 parents 98d4103 + 83fcd92 commit 665ba19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/mergestat/templates/console/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
{{- include "mergestat.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.ui.replicaCount | default 1 }}
replicas: {{ .Values.ui.replicaCount }}
selector:
matchLabels:
{{- include "mergestat.selectorLabels" . | nindent 6 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/mergestat/templates/graphql/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
{{- include "mergestat.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.graphql.replicaCount | default 1 }}
replicas: {{ .Values.graphql.replicaCount }}
selector:
matchLabels:
{{- include "mergestat.selectorLabels" . | nindent 6 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/mergestat/templates/worker/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
{{- include "mergestat.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.worker.replicaCount | default 1 }}
replicas: {{ .Values.worker.replicaCount }}
selector:
matchLabels:
{{- include "mergestat.selectorLabels" . | nindent 6 }}
Expand Down

0 comments on commit 665ba19

Please sign in to comment.