Merge pull request #7 from Intreecom/feature/targetport-capability

feature: capability to add targetport (optional)
This commit is contained in:
Dev Jadeja
2025-02-11 17:41:45 +05:30
committed by GitHub

View File

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