Browse Source

FILER: pass & db

fix revert from white labeling
pull/1214/head
LazyDBA247-Anyvision 5 years ago
parent
commit
0e22ed44d7
  1. 2
      k8s/seaweedfs/templates/secret-seaweedfs-db.yaml
  2. 2
      k8s/seaweedfs/values.yaml

2
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 }}

2
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

Loading…
Cancel
Save