From 7990d4f1c88c10095e809aa14f40686f15aac805 Mon Sep 17 00:00:00 2001 From: Guangning E Date: Fri, 23 Jan 2026 11:59:33 +0800 Subject: [PATCH] Support set revsion value --- .../templates/bookkeeper/bookkeeper-cluster.yaml | 3 +++ charts/sn-platform-slim/templates/broker/broker-cluster.yaml | 3 +++ .../templates/zookeeper/zookeeper-cluster.yaml | 3 +++ charts/sn-platform-slim/values.yaml | 3 +++ charts/sn-platform/templates/broker/broker-cluster.yaml | 3 +++ charts/sn-platform/values.yaml | 3 +++ 6 files changed, 18 insertions(+) diff --git a/charts/sn-platform-slim/templates/bookkeeper/bookkeeper-cluster.yaml b/charts/sn-platform-slim/templates/bookkeeper/bookkeeper-cluster.yaml index ec8d6bc82..298658c67 100644 --- a/charts/sn-platform-slim/templates/bookkeeper/bookkeeper-cluster.yaml +++ b/charts/sn-platform-slim/templates/bookkeeper/bookkeeper-cluster.yaml @@ -186,6 +186,9 @@ spec: mtls: mode: permissive {{- end }} + {{- if .Values.istio.revision }} + revision: {{ .Values.istio.revision }} + {{- end }} {{- end }} config: {{- with .Values.bookkeeper.rackAwareTopologyLabels }} diff --git a/charts/sn-platform-slim/templates/broker/broker-cluster.yaml b/charts/sn-platform-slim/templates/broker/broker-cluster.yaml index af40c2207..e0df76c81 100644 --- a/charts/sn-platform-slim/templates/broker/broker-cluster.yaml +++ b/charts/sn-platform-slim/templates/broker/broker-cluster.yaml @@ -177,6 +177,9 @@ spec: mtls: mode: permissive {{- end }} + {{- if .Values.istio.revision }} + revision: {{ .Values.istio.revision }} + {{- end }} gateway: selector: {{- include "pulsar.istio.gateway.selector" . | indent 8 }} diff --git a/charts/sn-platform-slim/templates/zookeeper/zookeeper-cluster.yaml b/charts/sn-platform-slim/templates/zookeeper/zookeeper-cluster.yaml index 95e2a0103..87e99bda6 100644 --- a/charts/sn-platform-slim/templates/zookeeper/zookeeper-cluster.yaml +++ b/charts/sn-platform-slim/templates/zookeeper/zookeeper-cluster.yaml @@ -190,6 +190,9 @@ spec: mtls: mode: permissive {{- end }} + {{- if .Values.istio.revision }} + revision: {{ .Values.istio.revision }} + {{- end }} {{- end }} config: serverCnxnFactory: {{ .Values.zookeeper.serverCnxnFactory }} diff --git a/charts/sn-platform-slim/values.yaml b/charts/sn-platform-slim/values.yaml index 55b9d6d0d..cbfec3ecb 100644 --- a/charts/sn-platform-slim/values.yaml +++ b/charts/sn-platform-slim/values.yaml @@ -2539,6 +2539,9 @@ istio: # - ambient: Sidecar-less data plane using ztunnel for L4 mTLS (~70-80% resource savings) # Leave empty for default behavior (sidecar mode) dataplaneMode: "" + # Istio revision to use for control plane injection + # When set, this revision will be applied to broker, bookkeeper, and zookeeper components + revision: "" gateway: # gateway selector if it's not `istio: ingressgateway` selector: {} diff --git a/charts/sn-platform/templates/broker/broker-cluster.yaml b/charts/sn-platform/templates/broker/broker-cluster.yaml index e98ba9b90..c70fbaf27 100644 --- a/charts/sn-platform/templates/broker/broker-cluster.yaml +++ b/charts/sn-platform/templates/broker/broker-cluster.yaml @@ -178,6 +178,9 @@ spec: mtls: mode: permissive {{- end }} + {{- if .Values.istio.revision }} + revision: {{ .Values.istio.revision }} + {{- end }} gateway: selector: {{- include "pulsar.istio.gateway.selector" . | indent 8 }} diff --git a/charts/sn-platform/values.yaml b/charts/sn-platform/values.yaml index 0732ce6f8..c36957839 100644 --- a/charts/sn-platform/values.yaml +++ b/charts/sn-platform/values.yaml @@ -2921,6 +2921,9 @@ istio: # mergeMetrics should be enabled if you want to scrape pulsar metrics from an external prometheus not running on Istio # prometheus and grafana will not be Istio injected if mergeMetrics is enabled mergeMetrics: false + # Istio revision to use for control plane injection + # When set, this revision will be applied to broker, bookkeeper, and zookeeper components + revision: "" gateway: # gateway selector if it's not `istio: ingressgateway` selector: {}