Merge pull request #7 from Intreecom/feature/targetport-capability
feature: capability to add targetport (optional)
This commit is contained in:
@ -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" }}
|
||||||
|
Reference in New Issue
Block a user