Move ports > 1024 as we run non-root

This commit is contained in:
Stefan Reimer 2020-09-11 15:45:04 +01:00
parent 530934e603
commit f7ba0ffa33
2 changed files with 4 additions and 0 deletions

View File

@ -91,11 +91,13 @@ spec:
{{- end }}
- name: http2
port: 80
targetPort: 8080
{{- if eq .Values.ingress.type "NodePort" }}
nodePort: 31080
{{- end }}
- name: https
port: 443
targetPort: 8443
{{- if eq .Values.ingress.type "NodePort" }}
nodePort: 31443
{{- end }}

View File

@ -113,11 +113,13 @@ spec:
{{- end }}
- name: http2
port: 80
targetPort: 8080
{{- if eq .Values.ingress.type "NodePort" }}
nodePort: 30080
{{- end }}
- name: https
port: 443
targetPort: 8443
{{- if eq .Values.ingress.type "NodePort" }}
nodePort: 30443
{{- end }}