From 6a1052e9ea80539d43a87120cd780944a7dba418 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 1 Feb 2024 14:41:21 +0100 Subject: [PATCH] fix: use jitsu.environment in deployments --- templates/bulker/deployment.yaml | 2 +- templates/console/deployment.yaml | 2 +- templates/rotor/deployment.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/bulker/deployment.yaml b/templates/bulker/deployment.yaml index 88319a6..3e07ecb 100644 --- a/templates/bulker/deployment.yaml +++ b/templates/bulker/deployment.yaml @@ -45,7 +45,7 @@ spec: containerPort: {{ .Values.bulker.service.port }} protocol: TCP env: - {{- $env := merge (deepCopy .Values.bulker.environment) .Values.global.environment -}} + {{- $env := merge (deepCopy .Values.bulker.environment) .Values.jitsu.environment -}} {{- range $k, $v := $env }} - name: {{ $k | quote }} {{- toYaml $v | nindent 16 }} diff --git a/templates/console/deployment.yaml b/templates/console/deployment.yaml index 43e9d85..ecca66b 100644 --- a/templates/console/deployment.yaml +++ b/templates/console/deployment.yaml @@ -45,7 +45,7 @@ spec: containerPort: {{ .Values.console.service.port }} protocol: TCP env: - {{- $env := merge (deepCopy .Values.console.environment) .Values.global.environment -}} + {{- $env := merge (deepCopy .Values.console.environment) .Values.jitsu.environment -}} {{- range $k, $v := $env }} - name: {{ $k | quote }} {{- toYaml $v | nindent 16 }} diff --git a/templates/rotor/deployment.yaml b/templates/rotor/deployment.yaml index ff28a96..2afaebb 100644 --- a/templates/rotor/deployment.yaml +++ b/templates/rotor/deployment.yaml @@ -45,7 +45,7 @@ spec: containerPort: {{ .Values.rotor.service.port }} protocol: TCP env: - {{- $env := merge (deepCopy .Values.rotor.environment) .Values.global.environment -}} + {{- $env := merge (deepCopy .Values.rotor.environment) .Values.jitsu.environment -}} {{- range $k, $v := $env }} - name: {{ $k | quote }} {{- toYaml $v | nindent 16 }}