k8s-provisioner seems to be ignoring config options defined on bundle
Bug #1842252 reported by
Pedro Guimarães
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Incomplete
|
Low
|
Ian Booth |
Bug Description
When configuring charm mariadb [1] on my bundle for k8s-provisioner, like this: https:/
I can see database is correctly configured following "database" option, however root-password is ignored. I can verify this via juju config katib-db, which returns empty "root-password".
The full bundle I am using is: https:/
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Ian Booth (wallyworld) |
To post a comment you must log in.
I can't reproduce this using Juju 2.6. What version of Juju are you using?
$ cat test-bundle.yaml charmers/ mariadb password: "passw0rd"
bundle: kubernetes
applications:
katib-db:
charm: cs:~kubeflow-
source: ./test/mariadb
scale: 1
annotations:
gui-x: '0'
gui-y: '1036'
options:
database: katib
root-
$ juju deploy ./test-bundle.yaml jujucharms. com/kubeflow- charmers/ mariadb/ oci-image@ sha256: 3b00a364fb7 licy: IfNotPresent
$ juju config katib-db
...
root-password:
default: ""
description: |
Password to use for the database root user. If not specified,
one will be generated automatically.
source: user
type: string
value: passw0rd
$ kubectl edit pod/katib-db-0
...
spec:
containers:
- env:
- name: MYSQL_ROOT_PASSWORD
value: passw0rd
image: registry.
imagePullPo
name: mariadb
...