SEAWEEDFS-K8S: helm chart

seaweedfs on k8s deployment through helm chart & stateful sets
This commit is contained in:
LazyDBA247-Anyvision
2020-03-03 09:56:39 +02:00
parent 9b7dae8037
commit b058867852
24 changed files with 2977 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: secret-seaweedfs-db
namespace: {{ .Release.Namespace }}
annotations:
"helm.sh/resource-policy": keep
"helm.sh/hook": "pre-install"
stringData:
user: {{ "YourSWUser" | b64enc }}
password: "HardCodedPassword"
# better to random generate and create in DB
# password: {{ randAlphaNum 10 | sha256sum | b64enc | trunc 32 }}