diff --git a/charts/sn-platform-slim/templates/bookkeeper/bookkeeper-cluster.yaml b/charts/sn-platform-slim/templates/bookkeeper/bookkeeper-cluster.yaml index b600ec226..402234366 100644 --- a/charts/sn-platform-slim/templates/bookkeeper/bookkeeper-cluster.yaml +++ b/charts/sn-platform-slim/templates/bookkeeper/bookkeeper-cluster.yaml @@ -10,6 +10,9 @@ metadata: namespace: {{ template "pulsar.namespace" . }} annotations: "cloud.streamnative.io/enable-config-prefix": "false" + {{- if and (include "pulsar.metadata.isOxia" .) (not (hasKey (default dict .Values.bookkeeper.bookKeeperCluster.annotations) "cloud.streamnative.io/config-profile")) }} + "cloud.streamnative.io/config-profile": "default-config-v2" + {{- end }} {{- with .Values.bookkeeper.bookKeeperCluster.annotations -}} {{ toYaml . | nindent 4 }} {{- end }} diff --git a/charts/sn-platform-slim/templates/broker/broker-cluster.yaml b/charts/sn-platform-slim/templates/broker/broker-cluster.yaml index 6af3cbc58..0e09467b9 100644 --- a/charts/sn-platform-slim/templates/broker/broker-cluster.yaml +++ b/charts/sn-platform-slim/templates/broker/broker-cluster.yaml @@ -11,6 +11,9 @@ metadata: namespace: {{ template "pulsar.namespace" . }} annotations: "cloud.streamnative.io/enable-config-prefix": "false" + {{- if and (include "pulsar.metadata.isOxia" .) (not (hasKey (default dict .Values.broker.pulsarBroker.annotations) "cloud.streamnative.io/config-profile")) }} + "cloud.streamnative.io/config-profile": "default-config-v2" + {{- end }} {{- with .Values.broker.pulsarBroker.annotations -}} {{ toYaml . | nindent 4 }} {{- end }} diff --git a/charts/sn-platform-slim/templates/proxy/proxy-cluster.yaml b/charts/sn-platform-slim/templates/proxy/proxy-cluster.yaml index bd65308b4..0b1f1e466 100644 --- a/charts/sn-platform-slim/templates/proxy/proxy-cluster.yaml +++ b/charts/sn-platform-slim/templates/proxy/proxy-cluster.yaml @@ -11,6 +11,9 @@ metadata: namespace: {{ template "pulsar.namespace" . }} annotations: "cloud.streamnative.io/enable-config-prefix": "false" + {{- if and (include "pulsar.metadata.isOxia" .) (not (hasKey (default dict .Values.proxy.pulsarProxy.annotations) "cloud.streamnative.io/config-profile")) }} + "cloud.streamnative.io/config-profile": "default-config-v2" + {{- end }} {{- with .Values.proxy.pulsarProxy.annotations -}} {{ toYaml . | nindent 4 }} {{- end }} diff --git a/charts/sn-platform/templates/bookkeeper/bookkeeper-cluster.yaml b/charts/sn-platform/templates/bookkeeper/bookkeeper-cluster.yaml index 5ccbf6633..87f9b91e3 100644 --- a/charts/sn-platform/templates/bookkeeper/bookkeeper-cluster.yaml +++ b/charts/sn-platform/templates/bookkeeper/bookkeeper-cluster.yaml @@ -10,6 +10,9 @@ metadata: namespace: {{ template "pulsar.namespace" . }} annotations: "cloud.streamnative.io/enable-config-prefix": "false" + {{- if and (include "pulsar.metadata.isOxia" .) (not (hasKey (default dict .Values.bookkeeper.bookKeeperCluster.annotations) "cloud.streamnative.io/config-profile")) }} + "cloud.streamnative.io/config-profile": "default-config-v2" + {{- end }} {{- with .Values.bookkeeper.bookKeeperCluster.annotations -}} {{ toYaml . | nindent 4 }} {{- end }} diff --git a/charts/sn-platform/templates/broker/broker-cluster.yaml b/charts/sn-platform/templates/broker/broker-cluster.yaml index cb7d6fdce..8a0df8834 100644 --- a/charts/sn-platform/templates/broker/broker-cluster.yaml +++ b/charts/sn-platform/templates/broker/broker-cluster.yaml @@ -11,6 +11,9 @@ metadata: namespace: {{ template "pulsar.namespace" . }} annotations: "cloud.streamnative.io/enable-config-prefix": "false" + {{- if and (include "pulsar.metadata.isOxia" .) (not (hasKey (default dict .Values.broker.pulsarBroker.annotations) "cloud.streamnative.io/config-profile")) }} + "cloud.streamnative.io/config-profile": "default-config-v2" + {{- end }} {{- with .Values.broker.pulsarBroker.annotations -}} {{ toYaml . | nindent 4 }} {{- end }} diff --git a/charts/sn-platform/templates/proxy/proxy-cluster.yaml b/charts/sn-platform/templates/proxy/proxy-cluster.yaml index afae3f930..9202f0ae3 100644 --- a/charts/sn-platform/templates/proxy/proxy-cluster.yaml +++ b/charts/sn-platform/templates/proxy/proxy-cluster.yaml @@ -11,6 +11,9 @@ metadata: namespace: {{ template "pulsar.namespace" . }} annotations: "cloud.streamnative.io/enable-config-prefix": "false" + {{- if and (include "pulsar.metadata.isOxia" .) (not (hasKey (default dict .Values.proxy.pulsarProxy.annotations) "cloud.streamnative.io/config-profile")) }} + "cloud.streamnative.io/config-profile": "default-config-v2" + {{- end }} {{- with .Values.proxy.pulsarProxy.annotations -}} {{ toYaml . | nindent 4 }} {{- end }}