Skip to content

Commit

Permalink
update helm chart to default to 2 replicas (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroniscode authored Mar 5, 2023
1 parent 55cb9dd commit 7456af2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
helm.sh/chart: {{ include "chart.name-version" . }}
control-plane: controller
spec:
replicas: 1
replicas: {{ .Values.deployment.replicas }}
selector:
matchLabels:
app.kubernetes.io/name: {{ include "app.name" . }}
Expand Down
2 changes: 2 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ deployment:
# Which priorityClassName to set?
# See: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#pod-priority
priorityClassName: ""
# Number of replicas.
replicas: 2

# If "installScope: cluster" then these labels will be applied to ClusterRole
role:
Expand Down

0 comments on commit 7456af2

Please sign in to comment.