From fb0fd9a001ffc313ba6cadb7e387f3cc5d482f8c Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Fri, 16 Feb 2024 11:42:08 -0500 Subject: [PATCH] override target port --- k8s/apps/videohosting/templates/sts-arrs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/apps/videohosting/templates/sts-arrs.yaml b/k8s/apps/videohosting/templates/sts-arrs.yaml index 678f634..18301cc 100644 --- a/k8s/apps/videohosting/templates/sts-arrs.yaml +++ b/k8s/apps/videohosting/templates/sts-arrs.yaml @@ -92,7 +92,7 @@ spec: type: ClusterIP ports: - port: 80 - targetPort: 80 + targetPort: {{ .port | default 80 }} name: "http" - port: 443 targetPort: 443