diff --git a/charts/generic/Chart.yaml b/charts/generic/Chart.yaml index 5d8fb9d..21f01ba 100644 --- a/charts/generic/Chart.yaml +++ b/charts/generic/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v2 name: generic description: Generic Chart -version: 1.6.3 +version: 1.7.0 diff --git a/charts/generic/templates/secrets.yaml b/charts/generic/templates/secrets.yaml index 74c2b24..1b536b7 100644 --- a/charts/generic/templates/secrets.yaml +++ b/charts/generic/templates/secrets.yaml @@ -14,7 +14,7 @@ metadata: {{- with .annotations }} annotations: {{ toYaml . | nindent 4 }} {{- end }} -type: Opaque +type: {{ .type | default "Opaque" }} data: {{- range $key, $value := $secret.data }} {{ $key }}: {{ $value | b64enc | quote }} diff --git a/charts/generic/values.yaml b/charts/generic/values.yaml index 2dbed2b..398c6eb 100644 --- a/charts/generic/values.yaml +++ b/charts/generic/values.yaml @@ -148,6 +148,7 @@ rollme: false # secrets: # - name: env +# # type: Opaque # data: # SOME_ENV: "example"