瀏覽代碼

nextcloud: account for numbers only pass (#2452)

Stavros Kois 1 年之前
父節點
當前提交
0282515a71

+ 1 - 1
library/ix-dev/charts/nextcloud/Chart.yaml

@@ -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.4
+version: 2.0.5
 apiVersion: v2
 appVersion: 29.0.0
 kubeVersion: '>=1.16.0-0'

+ 2 - 2
library/ix-dev/charts/nextcloud/templates/_configuration.tpl

@@ -71,8 +71,8 @@ secret:
         {{- end -}}
       {{- end }}
       NEXTCLOUD_TRUSTED_DOMAINS: {{ list $host "127.0.0.1" "localhost" (printf "%v-*" $fullname) $fullname | mustUniq | join " " | quote }}
-      NEXTCLOUD_ADMIN_USER: {{ .Values.ncConfig.adminUser }}
-      NEXTCLOUD_ADMIN_PASSWORD: {{ .Values.ncConfig.adminPassword }}
+      NEXTCLOUD_ADMIN_USER: {{ .Values.ncConfig.adminUser | quote }}
+      NEXTCLOUD_ADMIN_PASSWORD: {{ .Values.ncConfig.adminPassword | quote }}
     {{- if .Values.ncNetwork.certificateID }}
       {{- $svcCidr := "" -}}
       {{- $clusterCidr := "" -}}