File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates
testdata/project-v4-with-plugins/dist/chart Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ metadata:
6363 {{ "{{- include \"chart.labels\" . | nindent 4 }}" }}
6464 control-plane: controller-manager
6565spec:
66+ replicas: {{ "{{ .Values.controllerManager.replicas }}" }}
6667 selector:
6768 matchLabels:
6869 {{ "{{- include \"chart.selectorLabels\" . | nindent 6 }}" }}
Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ func (f *HelmValues) SetTemplateDefaults() error {
5757
5858const helmValuesTemplate = `# [MANAGER]: Manager Deployment Configurations
5959controllerManager:
60+ replicas: 1
6061 container:
6162 image:
6263 repository: controller
6364 tag: latest
64- replicas: 1
6565 args:
6666 - "--leader-elect"
6767 - "--metrics-bind-address=:8443"
@@ -128,7 +128,7 @@ metrics:
128128{{ if .Webhooks }}
129129# [WEBHOOKS]: Webhooks configuration
130130# The following configuration is automatically generated from the manifests
131- # generated by controller-gen. To update run 'make manifests' and
131+ # generated by controller-gen. To update run 'make manifests' and
132132# the edit command with the '--force' flag
133133webhook:
134134 enable: true
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ metadata:
77 {{- include "chart.labels" . | nindent 4 }}
88 control-plane : controller-manager
99spec :
10+ replicas : {{ .Values.controllerManager.replicas }}
1011 selector :
1112 matchLabels :
1213 {{- include "chart.selectorLabels" . | nindent 6 }}
Original file line number Diff line number Diff line change 11# [MANAGER]: Manager Deployment Configurations
22controllerManager :
3+ replicas : 1
34 container :
45 image :
56 repository : controller
67 tag : latest
7- replicas : 1
88 args :
99 - " --leader-elect"
1010 - " --metrics-bind-address=:8443"
@@ -68,7 +68,7 @@ metrics:
6868
6969# [WEBHOOKS]: Webhooks configuration
7070# The following configuration is automatically generated from the manifests
71- # generated by controller-gen. To update run 'make manifests' and
71+ # generated by controller-gen. To update run 'make manifests' and
7272# the edit command with the '--force' flag
7373webhook :
7474 enable : true
You can’t perform that action at this time.
0 commit comments