Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
args:
- "--leader-elect"
- "--metrics-bind-address=:8443"
Expand Down Expand Up @@ -128,7 +128,7 @@ metrics:
{{ if .Webhooks }}
# [WEBHOOKS]: Webhooks configuration
# The following configuration is automatically generated from the manifests
# generated by controller-gen. To update run 'make manifests' and
# generated by controller-gen. To update run 'make manifests' and
# the edit command with the '--force' flag
webhook:
enable: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,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
4 changes: 2 additions & 2 deletions testdata/project-v4-with-plugins/dist/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# [MANAGER]: Manager Deployment Configurations
controllerManager:
replicas: 1
container:
image:
repository: controller
tag: latest
replicas: 1
args:
- "--leader-elect"
- "--metrics-bind-address=:8443"
Expand Down Expand Up @@ -68,7 +68,7 @@ metrics:

# [WEBHOOKS]: Webhooks configuration
# The following configuration is automatically generated from the manifests
# generated by controller-gen. To update run 'make manifests' and
# generated by controller-gen. To update run 'make manifests' and
# the edit command with the '--force' flag
webhook:
enable: true
Expand Down
Loading