@@ -4,7 +4,7 @@ description: A file sharing server that puts the control and security of your ow
annotations:
title: Nextcloud
type: application
-version: 2.0.5
+version: 2.0.6
apiVersion: v2
appVersion: 29.0.0
kubeVersion: '>=1.16.0-0'
@@ -10,6 +10,9 @@
{{/* Fetch secrets from pre-migration secret */}}
{{- with (lookup "v1" "Secret" .Release.Namespace "db-details") -}}
{{- $dbUser = ((index .data "db-user") | b64dec) -}}
+ {{- if contains "\\x" (printf "%q" $dbUser) -}}
+ {{- $dbUser = (index .data "db-user") -}}
+ {{- end -}}
{{- $dbPass = ((index .data "db-password") | b64dec) -}}
{{- end -}}