From 0e22ed44d7d3076ecd57d085589a73220d8dfd68 Mon Sep 17 00:00:00 2001 From: LazyDBA247-Anyvision Date: Tue, 3 Mar 2020 10:43:45 +0200 Subject: [PATCH] FILER: pass & db fix revert from white labeling --- k8s/seaweedfs/templates/secret-seaweedfs-db.yaml | 2 +- k8s/seaweedfs/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/seaweedfs/templates/secret-seaweedfs-db.yaml b/k8s/seaweedfs/templates/secret-seaweedfs-db.yaml index c397824ad..c6132c9ea 100644 --- a/k8s/seaweedfs/templates/secret-seaweedfs-db.yaml +++ b/k8s/seaweedfs/templates/secret-seaweedfs-db.yaml @@ -8,7 +8,7 @@ metadata: "helm.sh/resource-policy": keep "helm.sh/hook": "pre-install" stringData: - user: {{ "YourSWUser" | b64enc }} + user: "YourSWUser" password: "HardCodedPassword" # better to random generate and create in DB # password: {{ randAlphaNum 10 | sha256sum | b64enc | trunc 32 }} diff --git a/k8s/seaweedfs/values.yaml b/k8s/seaweedfs/values.yaml index 1a265a4bf..7afc2dacf 100644 --- a/k8s/seaweedfs/values.yaml +++ b/k8s/seaweedfs/values.yaml @@ -249,7 +249,7 @@ filer: WEED_MYSQL_ENABLED: "true" WEED_MYSQL_HOSTNAME: "mysql-db-host" WEED_MYSQL_PORT: "3306" - WEED_MYSQL_DATABASE: "sw-database" + WEED_MYSQL_DATABASE: "sw_database" WEED_MYSQL_CONNECTION_MAX_IDLE: "10" WEED_MYSQL_CONNECTION_MAX_OPEN: "150" # enable usage of memsql as filer backend