diff --git a/helm-guestbook/templates/deployment.yaml b/helm-guestbook/templates/deployment.yaml index 980df256eb..ab4b098cc5 100644 --- a/helm-guestbook/templates/deployment.yaml +++ b/helm-guestbook/templates/deployment.yaml @@ -26,7 +26,7 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http - containerPort: 80 + containerPort: {{ .Values.containerPort }} protocol: TCP livenessProbe: httpGet: diff --git a/helm-guestbook/values.yaml b/helm-guestbook/values.yaml index 3666712aec..642921f1e6 100644 --- a/helm-guestbook/values.yaml +++ b/helm-guestbook/values.yaml @@ -9,6 +9,8 @@ image: tag: 0.1 pullPolicy: IfNotPresent +containerPort: 80 + service: type: ClusterIP port: 80