k8s controllers do not set feature flags to environment like Iaas controllers do

Bug #1941055 reported by Yang Kelvin Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju
High
Yang Kelvin Liu

Bug Description

k8s controllers do not set feature flags to the environment as Iaas controllers do.

IaaS controller sets features flags as an environment variable to the controller start command in userdata of cloud init script. But we are not doing this for k8s controllers.

https://github.com/juju/juju/blob/b7002c65f466295e9b8603b3eca6e93ce5e2e623/cloudconfig/userdatacfg_unix.go#L486

```
$ juju controller-config features
- private-registry

# in controller code, featureflag.Enabled(feature.PrivateRegistry) == false
```

Tags: k8s Edit Tag help
Changed in juju:
importance: Undecided → Critical
assignee: nobody → Yang Kelvin Liu (kelvin.liu)
milestone: none → 2.9.13
status: New → Triaged
Changed in juju:
importance: Critical → High
Revision history for this message
Yang Kelvin Liu (kelvin.liu) wrote :
Changed in juju:
status: Triaged → In Progress
tags: added: k8s
Changed in juju:
status: In Progress → Fix Committed
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.9.13 → 2.9.14
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers