diff --git a/standard-app/Chart.yaml b/standard-app/Chart.yaml index 9434b66..669ccd2 100644 --- a/standard-app/Chart.yaml +++ b/standard-app/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: standard-app description: A Helm chart library by Cloudkite type: application -version: 0.4.9 +version: 0.5.0 maintainters: - email: hello@cloudkite.io name: cloudkite diff --git a/standard-app/example.values.yaml b/standard-app/example.values.yaml index e4cb156..98850e6 100644 --- a/standard-app/example.values.yaml +++ b/standard-app/example.values.yaml @@ -236,6 +236,12 @@ externalSecret: # refreshInterval: 15s # secretPath: example-path + ## AWS secrets manager + # secretStoreName: example-name + # type: aws + # refreshInterval: 1m + # secretPath: example-path + # Google Secret Manager secretStoreName: example-name type: gcp diff --git a/standard-app/templates/configs/externalsecret.yaml b/standard-app/templates/configs/externalsecret.yaml index 2eb927f..744e2a2 100644 --- a/standard-app/templates/configs/externalsecret.yaml +++ b/standard-app/templates/configs/externalsecret.yaml @@ -35,6 +35,10 @@ spec: key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} property: {{ $secret.property | default $secret.secretKey }} {{- end }} + {{- if eq $.Values.externalSecret.type "aws" }} + key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} + property: {{ $secret.property | default $secret.secretKey }} + {{- end }} {{- end }} --- {{- end }} @@ -72,6 +76,10 @@ spec: key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} property: {{ $secret.property | default $secret.secretKey }} {{- end }} + {{- if eq $.Values.externalSecret.type "aws" }} + key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} + property: {{ $secret.property | default $secret.secretKey }} + {{- end }} {{- end }} --- {{- end }} @@ -108,6 +116,10 @@ spec: key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} property: {{ $secret.property | default $secret.secretKey }} {{- end }} + {{- if eq $.Values.externalSecret.type "aws" }} + key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} + property: {{ $secret.property | default $secret.secretKey }} + {{- end }} {{- end }} --- {{- end }} @@ -145,6 +157,10 @@ spec: key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} property: {{ $secret.property | default $secret.secretKey }} {{- end }} + {{- if eq $.Values.externalSecret.type "aws" }} + key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} + property: {{ $secret.property | default $secret.secretKey }} + {{- end }} {{- end }} --- {{- end }} @@ -181,6 +197,10 @@ spec: key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} property: {{ $secret.property | default $secret.secretKey }} {{- end }} + {{- if eq $.Values.externalSecret.type "aws" }} + key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} + property: {{ $secret.property | default $secret.secretKey }} + {{- end }} {{- end }} --- {{- end }} @@ -219,6 +239,10 @@ spec: key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} property: {{ $secret.property | default $secret.secretKey }} {{- end }} + {{- if eq $.Values.externalSecret.type "aws" }} + key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} + property: {{ $secret.property | default $secret.secretKey }} + {{- end }} {{- end }} --- {{- end }} @@ -256,6 +280,10 @@ spec: key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} property: {{ $secret.property | default $secret.secretKey }} {{- end }} + {{- if eq $.Values.externalSecret.type "aws" }} + key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} + property: {{ $secret.property | default $secret.secretKey }} + {{- end }} {{- end }} --- {{- end }} @@ -292,6 +320,10 @@ spec: key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} property: {{ $secret.property | default $secret.secretKey }} {{- end }} + {{- if eq $.Values.externalSecret.type "aws" }} + key: {{ $.Values.externalSecret.secretPath }}/{{ $.Release.Name }} + property: {{ $secret.property | default $secret.secretKey }} + {{- end }} {{- end }} --- {{- end }}