Skip to content

Commit

Permalink
🐛 fix: add missing replicas field to the Deployment generated by the …
Browse files Browse the repository at this point in the history
…Helm plugin
  • Loading branch information
monteiro-renato committed Nov 21, 2024
1 parent e07823e commit 27421f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ metadata:
{{ "{{- include \"chart.labels\" . | nindent 4 }}" }}
control-plane: controller-manager
spec:
replicas: {{ "{{ .Values.controllerManager.replicas }}" }}
selector:
matchLabels:
{{ "{{- include \"chart.selectorLabels\" . | nindent 6 }}" }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ func (f *HelmValues) SetTemplateDefaults() error {

const helmValuesTemplate = `# [MANAGER]: Manager Deployment Configurations
controllerManager:
replicas: 1
container:
image:
repository: controller
tag: latest
replicas: 1
tag: latest
args:
- "--leader-elect"
- "--metrics-bind-address=:8443"
Expand Down

0 comments on commit 27421f7

Please sign in to comment.