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