Skip to content

Commit 2be340f

Browse files
committed
Changing env to extraEnvVars, moving to nsconsumer section because that's the deployment template that uses them.
1 parent 68a5e79 commit 2be340f

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

helm/templates/deployment-consumer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
secretKeyRef:
4747
name: {{ $secretName }}
4848
key: {{ .Values.rmq.rmqConnection.rmqPasswordKey }}
49-
{{- range $k, $v := .Values.env }}
49+
{{- range $k, $v := .Values.nsconsumer.extraEnvVars }}
5050
- name: {{ $k }}
5151
value: {{ $v | quote }}
5252
{{- end }}

helm/values.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,7 @@ nodeSelector: {}
283283
tolerations: []
284284
affinity: {}
285285
resources: {}
286-
# Logging / env map
287-
env: {}
286+
288287
# We usually recommend not to specify default resources and to leave this as a conscious
289288
# choice for the user. This also increases chances charts run on environments with limited
290289
# resources, such as Minikube. If you do want to specify resources, uncomment the following
@@ -401,6 +400,10 @@ nsconsumer:
401400
periodSeconds: 10
402401
timeoutSeconds: 5
403402

403+
# @param extraEnvVars Optional additional env vars to be added to the container.
404+
# Format: { EXAMPLE_ENV_VAR: "example_value", ANOTHER_ENV_VAR: "another_value" }
405+
extraEnvVars: {}
406+
404407
## @section RabbitMQ Connection Configuration
405408
## (This section does NOT affect the RabbitMQ Operator installation itself.)
406409
## These settings are used to configure the connection from the nsconsumer app to an existing

0 commit comments

Comments
 (0)