mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00: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 }}
|