Skip to content

Commit 6d43e78

Browse files
fix: update template to use correct context for Azure AKS secrets provider
1 parent 6e2b57d commit 6d43e78

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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-4"
18+
version: "0.5.3-azure-test-5"
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ spec:
8888
name: pgstac-secrets-{{ $.Release.Name }}
8989
{{- end }}
9090
# TODO (emmanuel): choose another name to not mix up with the db secret if internal DB
91-
{{- if .Values.azure.aksSecretsProviderAvailable }}
91+
{{- if $.Values.azure.aksSecretsProviderAvailable }}
9292
- secretRef:
9393
name: pgstac-secrets-{{ $.Release.Name }}
9494
{{- end }}
@@ -99,7 +99,7 @@ spec:
9999
{{- end }}
100100
{{- end }}
101101
volumes:
102-
{{- if .Values.azure.aksSecretsProviderAvailable }}
102+
{{- if $.Values.azure.aksSecretsProviderAvailable }}
103103
- name: pgstac-secrets-{{ $.Release.Name }}
104104
csi:
105105
driver: secrets-store.csi.k8s.io

0 commit comments

Comments
 (0)