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:
63
63
{{ "{{- include \"chart.labels\" . | nindent 4 }}" }}
64
64
control-plane: controller-manager
65
65
spec:
66
+ replicas: {{ "{{ .Values.controllerManager.replicas }}" }}
66
67
selector:
67
68
matchLabels:
68
69
{{ "{{- include \"chart.selectorLabels\" . | nindent 6 }}" }}
Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ func (f *HelmValues) SetTemplateDefaults() error {
57
57
58
58
const helmValuesTemplate = `# [MANAGER]: Manager Deployment Configurations
59
59
controllerManager:
60
+ replicas: 1
60
61
container:
61
62
image:
62
63
repository: controller
63
64
tag: latest
64
- replicas: 1
65
65
args:
66
66
- "--leader-elect"
67
67
- "--metrics-bind-address=:8443"
@@ -128,7 +128,7 @@ metrics:
128
128
{{ if .Webhooks }}
129
129
# [WEBHOOKS]: Webhooks configuration
130
130
# 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
132
132
# the edit command with the '--force' flag
133
133
webhook:
134
134
enable: true
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ metadata:
7
7
{{- include "chart.labels" . | nindent 4 }}
8
8
control-plane : controller-manager
9
9
spec :
10
+ replicas : {{ .Values.controllerManager.replicas }}
10
11
selector :
11
12
matchLabels :
12
13
{{- include "chart.selectorLabels" . | nindent 6 }}
Original file line number Diff line number Diff line change 1
1
# [MANAGER]: Manager Deployment Configurations
2
2
controllerManager :
3
+ replicas : 1
3
4
container :
4
5
image :
5
6
repository : controller
6
7
tag : latest
7
- replicas : 1
8
8
args :
9
9
- " --leader-elect"
10
10
- " --metrics-bind-address=:8443"
@@ -68,7 +68,7 @@ metrics:
68
68
69
69
# [WEBHOOKS]: Webhooks configuration
70
70
# 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
72
72
# the edit command with the '--force' flag
73
73
webhook :
74
74
enable : true
You can’t perform that action at this time.
0 commit comments