From 81402f2c06b982f2208ade146f4ae25b88cce6c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verch=C3=A8re?= Date: Tue, 2 Jul 2024 14:00:53 +0200 Subject: [PATCH] feat(chart): expose varnish and signaller ports on deploy/sts manifests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémi Verchère --- chart/templates/deployment.yaml | 7 +++++++ chart/templates/statefulset.yaml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 8518cce..2a894ad 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -111,6 +111,13 @@ spec: lifecycle: {{- toYaml .Values.lifecycle | nindent 12 }} {{- end }} + ports: + - containerPort: {{ .Values.service.target }} + name: http + protocol: TCP + - containerPort: 8090 + name: signaller + protocol: TCP volumeMounts: - name: template mountPath: /etc/varnish/tmpl diff --git a/chart/templates/statefulset.yaml b/chart/templates/statefulset.yaml index d62c5f7..18f9994 100644 --- a/chart/templates/statefulset.yaml +++ b/chart/templates/statefulset.yaml @@ -104,6 +104,13 @@ spec: lifecycle: {{- toYaml .Values.lifecycle | nindent 12 }} {{- end }} + ports: + - containerPort: {{ .Values.service.target }} + name: http + protocol: TCP + - containerPort: 8090 + name: signaller + protocol: TCP volumeMounts: - name: template mountPath: /etc/varnish/tmpl