Skip to content

Commit 46da4cb

Browse files
committed
fix secret order since we need multiple secrets derived from a single key in the vault
1 parent bec9d40 commit 46da4cb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-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-sa"
18+
version: "0.5.3-azure-test-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/azure/azure-secret-provider.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ spec:
1515
array:
1616
{{- range $name, $value := .Values.azure.secretKeys }}
1717
- |
18-
objectName: {{ $name }}
18+
objectName: {{ $value }}
1919
objectType: secret
2020
{{- end }}
2121
secretObjects:
2222
- secretName: pgstac-secrets-{{ $.Release.Name }}
2323
type: Opaque
2424
data:
2525
{{- range $name, $value := .Values.azure.secretKeys }}
26-
- objectName: {{ $name }}
27-
key: {{ $value }}
26+
- objectName: {{ $value }}
27+
key: {{ $name }}
2828
{{- end }}
2929

3030
{{- end }}

0 commit comments

Comments
 (0)