File tree Expand file tree Collapse file tree 3 files changed +3
-14
lines changed
Expand file tree Collapse file tree 3 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 4949 service :
5050 name : {{ $fullName }}
5151 port :
52- name : {{ .Values.service.targetPort | default " http" }}
52+ name : http
5353 {{ else }}
5454 serviceName : {{ $fullName }}
5555 servicePort : http
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ spec:
1919 type : {{ .Values.service.type }}
2020 ports :
2121 - port : {{ .Values.service.port }}
22- targetPort : {{ .Values.service.targetPort | default " http" }}
22+ targetPort : http
2323 protocol : TCP
2424 name : http
2525 {{- if and (eq "NodePort" .Values.service.type) .Values.service.httpNodePort }}
2626 nodePort : {{ .Values.service.httpNodePort }}
2727 {{- end }}
2828 - port : {{ .Values.service.managementPort }}
29- targetPort : {{ .Values.service.managementTargetPort | default " management" }}
29+ targetPort : management
3030 protocol : TCP
3131 name : management
3232 {{- if and (eq "NodePort" .Values.service.type) .Values.service.managementNodePort }}
Original file line number Diff line number Diff line change @@ -103,11 +103,6 @@ initContainers: {}
103103# - mountPath: /tmp
104104# name: certs
105105
106- # When using a sidecar (e.g., initContainer with restartPolicy=Always),
107- # you may want to set service.targetPort to the sidecar port:
108- # service:
109- # targetPort: "proxy" # or 4180
110-
111106# Configure the Pod Security Context
112107# ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
113108securityContext : {}
@@ -131,12 +126,6 @@ service:
131126 type : ClusterIP
132127 port : 80
133128 managementPort : 28081
134- # Configure target ports for the service - useful when using sidecars
135- # targetPort: "http" # defaults to "http" (port name)
136- # managementTargetPort: "management" # defaults to "management" (port name)
137- # Alternative: specify port numbers directly
138- # targetPort: 8080
139- # managementTargetPort: 28081
140129 # httpNodePort: 32551
141130 # managementNodePort: 32552
142131 labels : {}
You can’t perform that action at this time.
0 commit comments