Skip to content

Commit 100c076

Browse files
authored
Added envSecrets to add environment variables from secrets. (#167)
1 parent 817ec9d commit 100c076

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

helm-chart/eoapi/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ kubeVersion: ">=1.23.0-0"
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.5.0"
18+
version: "0.5.2"
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

helm-chart/eoapi/templates/services/deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ spec:
6565
- secretRef:
6666
name: pgstac-secrets-{{ $.Release.Name }}
6767
{{- end }}
68+
{{- if index $v "settings" "envSecrets" }}
69+
{{- range $secret := index $v "settings" "envSecrets" }}
70+
- secretRef:
71+
name: {{ $secret }}
72+
{{- end }}
73+
{{- end }}
6874
---
6975
{{/* END: if index $v "enabled" */}}
7076
{{- end }}

0 commit comments

Comments
 (0)