From bf0c4e614030f51a7430f53a40488f493df9e64f Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Thu, 14 Jul 2022 21:02:19 +0200 Subject: [PATCH] fix: values config error --- templates/secrets.yaml | 4 ---- values.yaml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/templates/secrets.yaml b/templates/secrets.yaml index cd6b325..7454e49 100644 --- a/templates/secrets.yaml +++ b/templates/secrets.yaml @@ -5,10 +5,6 @@ metadata: type: Opaque stringData: - {{- if not (hasKey .Values "config") -}} - {{- $_ := set .Values "config" dict -}} - {{- end -}} - {{/* SETUP CONFIG */}} {{ range $key, $value := .Values.config }} {{ upper $key}}: {{ quote $value }} diff --git a/values.yaml b/values.yaml index f6c9ac1..87e9661 100644 --- a/values.yaml +++ b/values.yaml @@ -30,7 +30,7 @@ podSecurityContext: {} schedule: "*/10 * * * *" -config: +config: {} # DATABASE_TYPE # Currently will be only postgres, mysql and mariadb supported. About the # environment variable DATABASE_TYPE can the backend type defined. The value