Skip to content

Commit 7417670

Browse files
authored
chore(chart): release 7.10.2 (#9903)
1 parent c882253 commit 7417670

File tree

5 files changed

+22
-4
lines changed

5 files changed

+22
-4
lines changed

charts/kubernetes-dashboard/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
apiVersion: v2
1616
name: kubernetes-dashboard
17-
version: 7.10.1
17+
version: 7.10.2
1818
description: General-purpose web UI for Kubernetes clusters
1919
keywords:
2020
- kubernetes

charts/kubernetes-dashboard/templates/services/api.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,13 @@ metadata:
3131
name: {{ template "kubernetes-dashboard.fullname" . }}-{{ .Values.api.role }}
3232
spec:
3333
ports:
34-
- name: {{ .Values.api.role }}
3534
{{- with (index .Values.api.containers.ports 0) }}
35+
- name: {{ .name }}
3636
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 }}
3741
{{- end }}
3842
selector:
3943
{{- include "kubernetes-dashboard.matchLabels" . | nindent 4 }}

charts/kubernetes-dashboard/templates/services/auth.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,13 @@ metadata:
3333
name: {{ template "kubernetes-dashboard.fullname" . }}-{{ .Values.auth.role }}
3434
spec:
3535
ports:
36-
- name: {{ .Values.auth.role }}
3736
{{- with (index .Values.auth.containers.ports 0) }}
37+
- name: {{ .name }}
3838
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 }}
3943
{{- end }}
4044
selector:
4145
{{- include "kubernetes-dashboard.matchLabels" . | nindent 4 }}

charts/kubernetes-dashboard/templates/services/metrics-scraper.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@ metadata:
3434
spec:
3535
ports:
3636
{{- 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.
3739
- 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 }}
3844
{{- end }}
3945
selector:
4046
{{- include "kubernetes-dashboard.matchLabels" . | nindent 4 }}

charts/kubernetes-dashboard/templates/services/web.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,13 @@ metadata:
3333
name: {{ template "kubernetes-dashboard.fullname" . }}-{{ .Values.web.role }}
3434
spec:
3535
ports:
36-
- name: {{ .Values.web.role }}
3736
{{- with (index .Values.web.containers.ports 0) }}
37+
- name: {{ .name }}
3838
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 }}
3943
{{- end }}
4044
selector:
4145
{{- include "kubernetes-dashboard.matchLabels" . | nindent 4 }}

0 commit comments

Comments
 (0)