Skip to content

Commit 60f90aa

Browse files
committed
feat: add env and envFrom
1 parent b3a676b commit 60f90aa

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

charts/fandujar-deployment/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.0
18+
version: 0.2.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/fandujar-deployment/templates/deployment.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ spec:
3232
{{- toYaml .Values.podSecurityContext | nindent 8 }}
3333
containers:
3434
- name: {{ .Chart.Name }}
35+
{{- with .Values.env }}
36+
env:
37+
{{- . | toYaml | nindent 12 }}
38+
{{- end }}
39+
{{- with .Values.envFrom }}
40+
envFrom:
41+
{{- . | toYaml | nindent 12 }}
42+
{{- end }}
3543
securityContext:
3644
{{- toYaml .Values.securityContext | nindent 12 }}
3745
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"

0 commit comments

Comments
 (0)