Skip to content

Commit

Permalink
feat: Parametrize number of replicas for HA deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
mjozefcz committed May 10, 2024
1 parent a0351d2 commit 92677bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/hnc/templates/hnc-controller-manager-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: {{ include "hnc.fullname" . }}-controller-manager-ha
namespace: {{ include "hnc.namespace" . }}
spec:
replicas: 3
replicas: {{ .Values.ha.manager.replicas }}
selector:
matchLabels:
control-plane: controller-manager-ha
Expand Down
1 change: 1 addition & 0 deletions charts/hnc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ hrq:
ha:
enabled: false
manager:
replicas: 3
resources:
limits:
cpu: 100m
Expand Down

0 comments on commit 92677bd

Please sign in to comment.