Skip to content

Commit d896940

Browse files
authored
add support for providing env vars with envFrom (#124)
1 parent 019e3b6 commit d896940

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

charts/localstack/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ annotations:
22
category: Infrastructure
33
apiVersion: v2
44
appVersion: latest
5-
version: 0.6.15
5+
version: 0.6.16
66
name: localstack
77
description: LocalStack - a fully functional local AWS cloud stack
88
type: application

charts/localstack/templates/deployment.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@ spec:
188188
{{- if .Values.extraEnvVars }}
189189
{{- include "common.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 12 }}
190190
{{- end }}
191+
{{- if .Values.envFrom }}
192+
envFrom:
193+
{{- toYaml .Values.envFrom | nindent 12 }}
194+
{{- end }}
191195
{{- if .Values.mountDind.enabled }}
192196
- name: dind
193197
image: {{ .Values.mountDind.image | quote }}

charts/localstack/values.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ mountDind:
9797
## value: "serverless,sqs,es"
9898
extraEnvVars: []
9999

100+
## envFrom Allows you to set additional environment variables from a ConfigMap or Secret
101+
## - configMapRef:
102+
## name: configmap-name
103+
envFrom: []
104+
100105
livenessProbe:
101106
initialDelaySeconds: 0
102107
periodSeconds: 10

0 commit comments

Comments
 (0)