Create MariaDB Root Password Secret

Create a file named mariadb-secret.yaml with following content.

apiVersion: v1
  password: ${BASE64_PASSWORD}
kind: Secret
  name: mariadb-root-password
type: Opaque

Change the following properties:

Note down the It is required create Jobs to add new sites or to restore backups.

Create the resource using:

$ kubectl create -n <namespace> -f mariadb-secret.yaml

Note that the <namespace> in here should be the ERPNext deployment namespace and not the MariaDB namespace.