Skip to content

Commit

Permalink
add support for providing env vars with envFrom (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
renbeynolds authored Jul 26, 2024
1 parent 019e3b6 commit d896940
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/localstack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ annotations:
category: Infrastructure
apiVersion: v2
appVersion: latest
version: 0.6.15
version: 0.6.16
name: localstack
description: LocalStack - a fully functional local AWS cloud stack
type: application
Expand Down
4 changes: 4 additions & 0 deletions charts/localstack/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ spec:
{{- if .Values.extraEnvVars }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.envFrom }}
envFrom:
{{- toYaml .Values.envFrom | nindent 12 }}
{{- end }}
{{- if .Values.mountDind.enabled }}
- name: dind
image: {{ .Values.mountDind.image | quote }}
Expand Down
5 changes: 5 additions & 0 deletions charts/localstack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ mountDind:
## value: "serverless,sqs,es"
extraEnvVars: []

## envFrom Allows you to set additional environment variables from a ConfigMap or Secret
## - configMapRef:
## name: configmap-name
envFrom: []

livenessProbe:
initialDelaySeconds: 0
periodSeconds: 10
Expand Down

0 comments on commit d896940

Please sign in to comment.