k8s-provisioner seems to be ignoring config options defined on bundle

Bug #1842252 reported by Pedro Guimarães
6
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://pastebin.canonical.com/p/6nGh7W8WkQ/

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://github.com/juju-solutions/bundle-kubeflow/blob/master/bundle.yaml

[1] https://jaas.ai/u/kubeflow-charmers/mariadb/15

Changed in juju:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Ian Booth (wallyworld)
Revision history for this message
Ian Booth (wallyworld) wrote :

I can't reproduce this using Juju 2.6. What version of Juju are you using?

$ cat test-bundle.yaml
bundle: kubernetes
applications:
  katib-db:
    charm: cs:~kubeflow-charmers/mariadb
    source: ./test/mariadb
    scale: 1
    annotations:
      gui-x: '0'
      gui-y: '1036'
    options:
      database: katib
      root-password: "passw0rd"

$ juju deploy ./test-bundle.yaml
$ 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.jujucharms.com/kubeflow-charmers/mariadb/oci-image@sha256:3b00a364fb7
    imagePullPolicy: IfNotPresent
    name: mariadb
...

Changed in juju:
status: Triaged → Incomplete
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: High → Low
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.