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 }} {{- end }}
- name: http2 - name: http2
port: 80 port: 80
targetPort: 8080
{{- if eq .Values.ingress.type "NodePort" }} {{- if eq .Values.ingress.type "NodePort" }}
nodePort: 31080 nodePort: 31080
{{- end }} {{- end }}
- name: https - name: https
port: 443 port: 443
targetPort: 8443
{{- if eq .Values.ingress.type "NodePort" }} {{- if eq .Values.ingress.type "NodePort" }}
nodePort: 31443 nodePort: 31443
{{- end }} {{- end }}

View File

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