fix: corrected targetPort value
finding: The `targetPort` name is the same as `containers[*].ports[*].name` from deployment/pod definition and not `spec.ports[*].name` from service definition
This commit is contained in:
@ -9,7 +9,7 @@ spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
targetPort: {{ .Values.service.targetPort | default "static-service" }}
|
||||
targetPort: {{ .Values.service.targetPort | default .Values.service.port }}
|
||||
protocol: TCP
|
||||
name: static-service
|
||||
selector:
|
||||
|
Reference in New Issue
Block a user