secret-seaweedfs-db.yaml 382 B

1234567891011121314
  1. apiVersion: v1
  2. kind: Secret
  3. type: Opaque
  4. metadata:
  5. name: secret-seaweedfs-db
  6. namespace: {{ .Release.Namespace }}
  7. annotations:
  8. "helm.sh/resource-policy": keep
  9. "helm.sh/hook": "pre-install"
  10. stringData:
  11. user: "YourSWUser"
  12. password: "HardCodedPassword"
  13. # better to random generate and create in DB
  14. # password: {{ randAlphaNum 10 | sha256sum | b64enc | trunc 32 }}