Closed codezart closed 1 year ago
Following values worked for me:
mariadb:
enabled: true
auth:
rootPassword: "changeit"
username: "erpnext"
password: "changeit"
replicationPassword: "changeit"
primary:
extraFlags: --skip-character-set-client-handshake --skip-innodb-read-only-compressed --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
persistence:
worker:
storageClass: nfs
logs:
enabled: false
jobs:
configure:
fixVolume: false
createSite:
enabled: True
siteName: "site.localhost"
backoffLimit: 3
adminPassword: "admin"
installApps: []
dbRootUser: "root"
dbRootPassword: "changeit"
"rootPassword": "changeit", "username": "erpnext", "password": "changeit", "replicationPassword": "changeit"
passwords are changeit
"dbRootPassword": "changit",
site creating password is changit
. e
is missing in change
.
Description of the issue
I've setup erpnext's pre configured MariaDB config in k8s as follows:
when creating a new site I've passed all the required variables as follows:
Observed result
The job fails due to error 2003 timeout when connecting with Mariadb
Expected result
Site creates normally
Stacktrace / full error message if available
Context information
When checking the site details it appears that the env variable for DB_ROOT_PASSWORD is not set properly.
I've checked the secret and it is being created with the requried key as mentioned above.