mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-14 10:39:24 +08:00
15 lines
382 B
YAML
15 lines
382 B
YAML
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"
|
|
password: "HardCodedPassword"
|
|
# better to random generate and create in DB
|
|
# password: {{ randAlphaNum 10 | sha256sum | b64enc | trunc 32 }}
|