From f3986c8c8db5e856aec96d1161f12b10fe39f64b Mon Sep 17 00:00:00 2001 From: Dann Bohn Date: Tue, 20 Aug 2024 08:47:06 -0400 Subject: [PATCH 1/2] adds default property, converstionStrategy, and decodingStrategy --- charts/application-core/templates/externalsecret.yaml | 6 +++--- charts/application-core/values.yaml | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/charts/application-core/templates/externalsecret.yaml b/charts/application-core/templates/externalsecret.yaml index 088fc5f..7a1a8cf 100644 --- a/charts/application-core/templates/externalsecret.yaml +++ b/charts/application-core/templates/externalsecret.yaml @@ -12,10 +12,10 @@ spec: {{- if .Values.externalSecret.data }} {{- range .Values.externalSecret.data}} - remoteRef: - conversionStrategy: {{ .remoteRef.conversionStrategy }} - decodingStrategy: {{ .remoteRef.decodingStrategy }} + conversionStrategy: {{ .remoteRef.conversionStrategy | default "Default" }} + decodingStrategy: {{ .remoteRef.decodingStrategy | default "None" }} key: {{ .remoteRef.key }} - property: {{ .remoteRef.property }} + property: {{ .remoteRef.property | default .remoteRef.key }} secretKey: {{ .secretKey }} {{- end }} {{- end }} diff --git a/charts/application-core/values.yaml b/charts/application-core/values.yaml index d84cef8..14004c7 100644 --- a/charts/application-core/values.yaml +++ b/charts/application-core/values.yaml @@ -112,6 +112,13 @@ extraSecrets: [] externalSecret: enabled: false + # data: + # - remoteRef: + # conversionStrategy: Default + # decodingtrategy: None + # key: + # property: {{ .remoteRef.key }} + # secretKey: data: [] refreshInterval: 1h secretStoreRef: From 934a7328fd865b7d08390b6fe07320e30b214a39 Mon Sep 17 00:00:00 2001 From: Dann Bohn Date: Tue, 20 Aug 2024 08:54:08 -0400 Subject: [PATCH 2/2] bumps chart version --- charts/application-core/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/application-core/Chart.yaml b/charts/application-core/Chart.yaml index ae54ec6..c62c23d 100644 --- a/charts/application-core/Chart.yaml +++ b/charts/application-core/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 4.2.0 +version: 4.2.1 maintainers: - name: Dominic DePasquale