File tree 5 files changed +22
-4
lines changed
charts/kubernetes-dashboard
5 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 14
14
15
15
apiVersion : v2
16
16
name : kubernetes-dashboard
17
- version : 7.10.1
17
+ version : 7.10.2
18
18
description : General-purpose web UI for Kubernetes clusters
19
19
keywords :
20
20
- kubernetes
Original file line number Diff line number Diff line change @@ -31,9 +31,13 @@ metadata:
31
31
name : {{ template "kubernetes-dashboard.fullname" . }}-{{ .Values.api.role }}
32
32
spec :
33
33
ports :
34
- - name : {{ .Values.api.role }}
35
34
{{- with (index .Values.api.containers.ports 0) }}
35
+ - name : {{ .name }}
36
36
port : {{ .containerPort }}
37
+ {{ if .protocol }}protocol: {{ .protocol }}{{- end }}
38
+ {{ if .appProtocol }}appProtocol: {{ .appProtocol }}{{- end }}
39
+ {{ if .nodePort }}nodePort: {{ .nodePort }}{{- end }}
40
+ {{ if .targetPort }}targetPort: {{ .targetPort }}{{- end }}
37
41
{{- end }}
38
42
selector :
39
43
{{- include "kubernetes-dashboard.matchLabels" . | nindent 4 }}
Original file line number Diff line number Diff line change @@ -33,9 +33,13 @@ metadata:
33
33
name : {{ template "kubernetes-dashboard.fullname" . }}-{{ .Values.auth.role }}
34
34
spec :
35
35
ports :
36
- - name : {{ .Values.auth.role }}
37
36
{{- with (index .Values.auth.containers.ports 0) }}
37
+ - name : {{ .name }}
38
38
port : {{ .containerPort }}
39
+ {{ if .protocol }}protocol: {{ .protocol }}{{- end }}
40
+ {{ if .appProtocol }}appProtocol: {{ .appProtocol }}{{- end }}
41
+ {{ if .nodePort }}nodePort: {{ .nodePort }}{{- end }}
42
+ {{ if .targetPort }}targetPort: {{ .targetPort }}{{- end }}
39
43
{{- end }}
40
44
selector :
41
45
{{- include "kubernetes-dashboard.matchLabels" . | nindent 4 }}
Original file line number Diff line number Diff line change @@ -34,7 +34,13 @@ metadata:
34
34
spec :
35
35
ports :
36
36
{{- with (index .Values.metricsScraper.containers.ports 0) }}
37
+ # Name is intentionally not used here as it breaks the connection between API <-> Scraper
38
+ # Named ports have an issue when trying to connect through in-cluster service proxy.
37
39
- port : {{ .containerPort }}
40
+ {{ if .protocol }}protocol: {{ .protocol }}{{- end }}
41
+ {{ if .appProtocol }}appProtocol: {{ .appProtocol }}{{- end }}
42
+ {{ if .nodePort }}nodePort: {{ .nodePort }}{{- end }}
43
+ {{ if .targetPort }}targetPort: {{ .targetPort }}{{- end }}
38
44
{{- end }}
39
45
selector :
40
46
{{- include "kubernetes-dashboard.matchLabels" . | nindent 4 }}
Original file line number Diff line number Diff line change @@ -33,9 +33,13 @@ metadata:
33
33
name : {{ template "kubernetes-dashboard.fullname" . }}-{{ .Values.web.role }}
34
34
spec :
35
35
ports :
36
- - name : {{ .Values.web.role }}
37
36
{{- with (index .Values.web.containers.ports 0) }}
37
+ - name : {{ .name }}
38
38
port : {{ .containerPort }}
39
+ {{ if .protocol }}protocol: {{ .protocol }}{{- end }}
40
+ {{ if .appProtocol }}appProtocol: {{ .appProtocol }}{{- end }}
41
+ {{ if .nodePort }}nodePort: {{ .nodePort }}{{- end }}
42
+ {{ if .targetPort }}targetPort: {{ .targetPort }}{{- end }}
39
43
{{- end }}
40
44
selector :
41
45
{{- include "kubernetes-dashboard.matchLabels" . | nindent 4 }}
You can’t perform that action at this time.
0 commit comments