From e9bb6954f742a57b1ff1c73066044dbfbc74aaf5 Mon Sep 17 00:00:00 2001 From: Eric Shen Date: Thu, 14 Sep 2023 09:46:31 +0800 Subject: [PATCH] fix: missing template for proxy wss (#1096) * fix: missing template for proxy wss Signed-off-by: ericsyh * update wss template config Signed-off-by: ericsyh * fix ci Signed-off-by: ericsyh * fix lint Signed-off-by: ericsyh --------- Signed-off-by: ericsyh --- charts/sn-platform-slim/templates/proxy/proxy-cluster.yaml | 3 +++ charts/sn-platform/templates/proxy/proxy-cluster.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/charts/sn-platform-slim/templates/proxy/proxy-cluster.yaml b/charts/sn-platform-slim/templates/proxy/proxy-cluster.yaml index b8b6c9ab2..7de699363 100644 --- a/charts/sn-platform-slim/templates/proxy/proxy-cluster.yaml +++ b/charts/sn-platform-slim/templates/proxy/proxy-cluster.yaml @@ -152,6 +152,9 @@ spec: {{- include "pulsar.authConfiguration" . | indent 6 }} superUserRoles: "{{ .Values.auth.superUsers.proxy }}" {{- end }} + {{- if .Values.proxy.websocket.enabled }} + PULSAR_PREFIX_webSocketServiceEnabled: "true" + {{- end }} {{- if and (.Values.tls.enabled) (.Values.tls.proxy.enabled) }} {{- if .Values.certs.internal_issuer.enabled }} tlsAllowInsecureConnection: "true" diff --git a/charts/sn-platform/templates/proxy/proxy-cluster.yaml b/charts/sn-platform/templates/proxy/proxy-cluster.yaml index e45b7958e..0b3e90d11 100644 --- a/charts/sn-platform/templates/proxy/proxy-cluster.yaml +++ b/charts/sn-platform/templates/proxy/proxy-cluster.yaml @@ -152,6 +152,9 @@ spec: {{- include "pulsar.authConfiguration" . | indent 6 }} superUserRoles: "{{ .Values.auth.superUsers.proxy }}" {{- end }} + {{- if .Values.proxy.websocket.enabled }} + PULSAR_PREFIX_webSocketServiceEnabled: "true" + {{- end }} {{- if and (.Values.tls.enabled) (.Values.tls.proxy.enabled) }} {{- if .Values.certs.internal_issuer.enabled }} tlsAllowInsecureConnection: "true"