feature: nodeport service type compatibility

This commit is contained in:
Dev Jadeja
2025-02-05 20:16:48 +05:30
parent 8af820d6ad
commit 8b2c941cd9

View File

@ -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