feature: nodeport service type compatibility
This commit is contained in:
@ -12,6 +12,9 @@ spec:
|
|||||||
targetPort: http
|
targetPort: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
|
{{- if eq .Values.service.type "NodePort" }}
|
||||||
|
nodePort: {{ .Values.service.nodePort }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
{{- include "py-app.selectorLabels" . | nindent 4 }}
|
{{- include "py-app.selectorLabels" . | nindent 4 }}
|
||||||
deployment_type: web
|
deployment_type: web
|
||||||
|
Reference in New Issue
Block a user