diff --git a/templates/web/deployment.yaml b/templates/web/deployment.yaml index 80d8173..0bf7875 100644 --- a/templates/web/deployment.yaml +++ b/templates/web/deployment.yaml @@ -44,20 +44,20 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http - containerPort: 8080 + containerPort: {{ .Values.web.port | default 8080 }} protocol: TCP livenessProbe: failureThreshold: {{ .Values.web.livenessProbe.failureThreshold }} httpGet: path: {{ .Values.web.livenessProbe.path | default "/_health/" }} - port: 8080 + port: {{ .Values.web.port | default 8080 }} initialDelaySeconds: {{ .Values.web.livenessProbe.initialDelaySeconds }} timeoutSeconds: {{ .Values.web.livenessProbe.timeoutSeconds }} readinessProbe: failureThreshold: {{ .Values.web.readinessProbe.failureThreshold }} httpGet: path: {{ .Values.web.readinessProbe.path | default "/_health/" }} - port: 8080 + port: {{ .Values.web.port | default 8080 }} initialDelaySeconds: {{ .Values.web.readinessProbe.initialDelaySeconds }} timeoutSeconds: {{ .Values.web.readinessProbe.timeoutSeconds }} resources: diff --git a/values.yaml b/values.yaml index 71c3b0b..87ee6e4 100644 --- a/values.yaml +++ b/values.yaml @@ -20,6 +20,7 @@ env: web: replicaCount: 2 + port: 8080 autoscaling: enabled: false minReplicas: 1