feature: capability to add targetport (optional)

This commit is contained in:
Dev Jadeja
2025-02-11 17:32:55 +05:30
parent ef7d437225
commit 089c279bad

View File

@ -9,7 +9,7 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
targetPort: {{ .Values.service.targetPort | default "http" }}
protocol: TCP
name: http
{{- if eq .Values.service.type "NodePort" }}