Skip to content

Commit 7afd2e4

Browse files
bump chart version to 0.5.3-azure-test-17 and update job.yaml for environment variable configuration
1 parent 258c428 commit 7afd2e4

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
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.3-azure-test-16"
18+
version: "0.5.3-azure-test-17"
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/pgstacboostrap/job.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,21 @@ spec:
4040
mountPath: /mnt/secrets-store
4141
readOnly: true
4242
{{- end }}
43+
value: {{ .Values.pgstacBootstrap.settings.envVars.KEEP_ALIVE | quote }}
44+
{{- if $.Values.azure.aksSecretsProviderAvailable }}
45+
envFrom:
46+
- secretRef:
47+
name: pgstac-secrets-{{ $.Release.Name }}
48+
{{- end }}
4349
env:
4450
- name: LOAD_FIXTURES
4551
value: {{ .Values.pgstacBootstrap.settings.envVars.LOAD_FIXTURES | quote }}
4652
- name: KEEP_ALIVE
4753
value: {{ .Values.pgstacBootstrap.settings.envVars.KEEP_ALIVE | quote }}
4854
{{- if $.Values.azure.aksSecretsProviderAvailable }}
49-
envFrom:
50-
- secretRef:
51-
name: pgstac-secrets-{{ $.Release.Name }}
55+
# pyscopg connection string
56+
- name: PGADMIN_URI
57+
value: postgresql://postgres:$(POSTGRES_PASS)@$(POSTGRES_HOST):5432/$(POSTGRES_DB)
5258
{{- else}}
5359
{{ include "eoapi.pgstacSecrets" . | nindent 12 }}
5460
{{- end }}

0 commit comments

Comments
 (0)