File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
pkg/plugins/optional/helm/v1alpha/scaffolds/internal/templates Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ spec:
105
105
{{- if .HasWebhooks }}
106
106
{{ "{{- if .Values.webhook.enable }}" }}
107
107
ports:
108
- - containerPort: 9443
108
+ - containerPort: {{ "{{ .Values.webhook.port }}" }}
109
109
name: webhook-server
110
110
protocol: TCP
111
111
{{ "{{- end }}" }}
Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ metadata:
53
53
control-plane: controller-manager
54
54
spec:
55
55
ports:
56
- - port: 8443
57
- targetPort: 8443
56
+ - port: {{ "{{ .Values.metrics.port }}" }}
57
+ targetPort: {{ "{{ .Values.metrics.port }}" }}
58
58
protocol: TCP
59
59
name: https
60
60
selector:
Original file line number Diff line number Diff line change 57
57
ports:
58
58
- port: 443
59
59
protocol: TCP
60
- targetPort: 9443
60
+ targetPort: {{ "{{ .Values.webhook.port }}" }}
61
61
selector:
62
62
control-plane: controller-manager
63
63
{{` + "`" + `{{- end }}` + "`" + `}}
Original file line number Diff line number Diff line change @@ -122,13 +122,15 @@ crd:
122
122
# ControllerManager argument "--metrics-bind-address=:8443" is removed.
123
123
metrics:
124
124
enable: true
125
+ port: 8443
125
126
{{ if .HasWebhooks }}
126
127
# [WEBHOOKS]: Webhooks configuration
127
128
# The following configuration is automatically generated from the manifests
128
129
# generated by controller-gen. To update run 'make manifests' and
129
130
# the edit command with the '--force' flag
130
131
webhook:
131
132
enable: true
133
+ port: 9443
132
134
{{ end }}
133
135
# [PROMETHEUS]: To enable a ServiceMonitor to export metrics to Prometheus set true
134
136
prometheus:
You can’t perform that action at this time.
0 commit comments