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 }}
|
||||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
targetPort: http
|
||||
targetPort: {{ .Values.service.targetPort | default "http" }}
|
||||
protocol: TCP
|
||||
name: http
|
||||
{{- if eq .Values.service.type "NodePort" }}
|
||||
|
Reference in New Issue
Block a user