Skip to content

Commit

Permalink
fix: use jitsu.environment in deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
echozio committed Feb 1, 2024
1 parent b28d782 commit 6a1052e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/bulker/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion templates/console/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion templates/rotor/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 6a1052e

Please sign in to comment.