Skip to content

Commit

Permalink
Don't expose the status port of istio ingress gateway. (gardener#7027)
Browse files Browse the repository at this point in the history
It only needed as kubernetes readiness probe.
  • Loading branch information
axel7born authored Nov 18, 2022
1 parent 2c800d1 commit 034ba10
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ spec:
runAsGroup: 1337
runAsNonRoot: true
ports:
- containerPort: 15021
{{- range .Values.ports }}
- containerPort: {{ .targetPort }}
protocol: TCP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ spec:
selector:
{{ .Values.labels | toYaml | indent 4 }}
ports:
- name: {{ .Values.portsNames.status }}
port: 15021
targetPort: 15021
protocol: TCP
{{- if .Values.ports }}
{{ toYaml .Values.ports | indent 2 }}
{{- end }}
Expand Down
5 changes: 0 additions & 5 deletions pkg/operation/botanist/component/istio/istiod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1498,10 +1498,6 @@ spec:
foo: bar
ports:
- name: status-port
port: 15021
targetPort: 15021
protocol: TCP
- name: foo
port: 999
targetPort: 999
Expand Down Expand Up @@ -1576,7 +1572,6 @@ spec:
runAsGroup: 1337
runAsNonRoot: true
ports:
- containerPort: 15021
- containerPort: 999
protocol: TCP
args:
Expand Down

0 comments on commit 034ba10

Please sign in to comment.