You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2025/03/26 17:53:47 UTC

(streampipes) branch dev updated: fix: Backend variable in k8s deployment

This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 4357385042 fix: Backend variable in k8s deployment
4357385042 is described below

commit 43573850423475a429f517db6502fbe30d1a25b8
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Mar 26 18:53:35 2025 +0100

    fix: Backend variable in k8s deployment
---
 installer/k8s/templates/core/backend-deployment.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/installer/k8s/templates/core/backend-deployment.yaml b/installer/k8s/templates/core/backend-deployment.yaml
index 8103e20ac6..b2d5e31745 100644
--- a/installer/k8s/templates/core/backend-deployment.yaml
+++ b/installer/k8s/templates/core/backend-deployment.yaml
@@ -59,6 +59,9 @@ spec:
               value: "{{ .Values.external.kafka.service.name }}"
             - name: SP_KAFKA_PORT
               value: "{{ .Values.external.kafka.service.port }}"
+            {{- end }}
+            {{- if eq .Values.preferredBroker "nats" }}
+              value: "nats"
             - name: SP_NATS_HOST
               value: "{{ .Values.external.nats.service.name }}"
             - name: SP_NATS_PORT