Juju unable to add a k8s 1.24 k8s cloud
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Yang Kelvin Liu |
Bug Description
Juju 2.9.28-ubuntu-amd64 is unable to add a k8s cloud if using a 1.24 k8s cluster. The following error is encountered when running the add-k8s command:
juju add-k8s my-k8s-cloud --controller my-controller --storage vsphere-vcp
ERROR making juju admin credentials in cluster: max duration exceeded: secret for service account "juju-credentia
This is because service account secrets are no longer automatically created by default: https:/
It seems juju is relying on this behavior in order to create a k8s cloud, but since the secret is not created automatically it fails.
description: | updated |
Changed in juju: | |
milestone: | none → 2.9.29 |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Yang Kelvin Liu (kelvin.liu) |
Changed in juju: | |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
As a workaround:
> juju config kubernetes- control- plane controller- manager- extra-args= feature- gates=RotateKub eletServerCerti ficate= true,LegacyServ iceAccountToken NoAutoGeneratio n=false