Browse Source
Merge pull request #1214 from LazyDBA247-Anyvision/add-k8s-helm-chart
FILER/S3: filer Dir Buckets
pull/1216/head
Chris Lu
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
2 additions and
6 deletions
-
k8s/seaweedfs/templates/s3-deployment.yaml
-
k8s/seaweedfs/templates/secret-seaweedfs-db.yaml
-
k8s/seaweedfs/values.yaml
|
|
@ -75,7 +75,6 @@ spec: |
|
|
|
-cert.file=/usr/local/share/ca-certificates/client/tls.crt \ |
|
|
|
-key.file=/usr/local/share/ca-certificates/client/tls.key \ |
|
|
|
{{- end }} |
|
|
|
-filer.dir.buckets={{ .Values.s3.filerDirBuckets }} \ |
|
|
|
{{- if .Values.s3.domainName }} |
|
|
|
-domainName={{ .Values.s3.domainName }} \ |
|
|
|
{{- end }} |
|
|
|
|
|
@ -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 }} |
|
|
@ -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 |
|
|
@ -273,9 +273,6 @@ s3: |
|
|
|
port: 8333 |
|
|
|
loggingOverrideLevel: null |
|
|
|
|
|
|
|
# Folder on filer to store all buckets (default "/buckets") |
|
|
|
filerDirBuckets: "/buckets" |
|
|
|
|
|
|
|
# Suffix of the host name, {bucket}.{domainName} |
|
|
|
domainName: "" |
|
|
|
|
|
|
|