We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05dd214 commit 357bbd1Copy full SHA for 357bbd1
hack/charts/cluster-api-operator/templates/deployment.yaml
@@ -97,6 +97,15 @@ spec:
97
- containerPort: 9443
98
name: webhook-server
99
protocol: TCP
100
+ {{- if $.Values.diagnosticsAddress }}
101
+ {{- $diagnosticsPort := $.Values.diagnosticsAddress }}
102
+ {{- if contains ":" $diagnosticsPort -}}
103
+ {{ $diagnosticsPort = ( split ":" $.Values.diagnosticsAddress)._1 }}
104
+ {{- end }}
105
+ - containerPort: {{ $diagnosticsPort | int }}
106
+ name: diagnostics
107
+ protocol: TCP
108
109
{{- with .Values.resources.manager }}
110
resources:
111
{{- toYaml . | nindent 12 }}
0 commit comments