Template variable for container port (#251)

Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>
This commit is contained in:
Anand Francis Joseph 2023-11-15 19:30:20 +05:30 committed by GitHub
parent 53e28ff20c
commit d7927a27b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 80
containerPort: {{ .Values.containerPort }}
protocol: TCP
livenessProbe:
httpGet:

View File

@ -9,6 +9,8 @@ image:
tag: 0.1
pullPolicy: IfNotPresent
containerPort: 80
service:
type: ClusterIP
port: 80