Added targetPort to set contaienr port number

pull/13195/head
RITWIK G 1 year ago committed by GitHub
parent cd71a359bf
commit 30fe967b1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -146,6 +146,7 @@ securityContext: {}
service:
type: ClusterIP
port: 80
targetPort: 80
ingress:
enabled: false
@ -339,7 +340,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
containerPort: {{ .Values.service.targetPort }}
protocol: TCP
livenessProbe:
{{- toYaml .Values.livenessProbe | nindent 12 }}
@ -379,7 +380,7 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
targetPort: {{ .Values.service.targetPort }}
protocol: TCP
name: http
selector:

Loading…
Cancel
Save