-
Notifications
You must be signed in to change notification settings - Fork 16.8k
stable/wordpress MARIADB_PORT_NUMBER %!s(int64=3306) #21142
Comments
What version of the chart is installed? Use |
Looks like this started to happen after #21099 was merged @juan131 @javsalgar @carrodher |
|
Hi everyone, Please correct me if I'm wrong but you're using the parameters below: (...)
--set externalDatabase.host=hosting-mariadb.databases.svc.cluster.local \
--set externalDatabase.port=3306 \
--set externalDatabase.user=root \
--set externalDatabase.password=root \
--set externalDatabase.database=993e718b94164d618af2965a461fe8c1 However, you're not using Regarding the issue, I'm unable to reproduce it. See: $ helm template wordpres \
--set externalDatabase.host=foo \
--set externalDatabase.port=3306 \
--set externalDatabase.user=root \
--set externalDatabase.password=root \
--set externalDatabase.database=wp_db \
--set mariadb.enabled=false stable/wordpress
(...)
# Source: wordpress/templates/deployment.yaml
(...)
env:
- name: ALLOW_EMPTY_PASSWORD
value: "yes"
- name: MARIADB_HOST
value: "foo"
- name: MARIADB_PORT_NUMBER
value: "3306"
- name: WORDPRESS_DATABASE_NAME
value: "wp_db"
- name: WORDPRESS_DATABASE_USER
value: "root"
- name: WORDPRESS_DATABASE_PASSWORD
valueFrom:
secretKeyRef:
name: wordpres-externaldb
key: db-password |
I can confirm the issue with disabling the external database. Here is my (redacted) values.yaml :
And when installing, with Helm3, the output of the wordpress pod is :
|
And switching to chart 8.1.5 works |
Oh I found the error! Creating a PR to address it! |
Thanks @juan131 ! |
The issue has been addressed in the above PR. You shouldn't face it anymore using the chart version |
after running this it creates deployment with
The text was updated successfully, but these errors were encountered: