We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4888ba8 commit b55f32eCopy full SHA for b55f32e
3 files changed
charts/hello-world/templates/deployment.yaml
@@ -21,7 +21,7 @@ spec:
21
imagePullPolicy: {{ .Values.image.pullPolicy }}
22
ports:
23
- name: http
24
- containerPort: 80
+ containerPort: {{ .Values.deployment.containerPort }}
25
protocol: TCP
26
livenessProbe:
27
httpGet:
charts/hello-world/templates/service.yaml
@@ -8,7 +8,7 @@ spec:
8
type: {{ .Values.service.type }}
9
10
- port: {{ .Values.service.port }}
11
- targetPort: http
+ targetPort: {{ .Values.service.targetPort }}
12
13
name: http
14
selector:
charts/hello-world/values.yaml
@@ -25,3 +25,7 @@ serviceAccount:
service:
type: ClusterIP
port: 80
28
+ targetPort: 8081
29
+
30
+deployment:
31
+ containerPort: 8081
0 commit comments