Error in 2.7 while creating cluster role
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Yang Kelvin Liu |
Bug Description
I'm attempting to create a ClusterRole that mimics the built-in cluster-admin ClusterRole. The rules I'm creating look like this:
rules:
- apiGroups:
- '*'
resources:
- '*'
verbs:
- '*'
- nonResourceURLs:
- '*'
verbs:
- '*'
When passing those in to pod spec v2, I get this error message:
creating or updating service account: ClusterRole.
This is due to the second rule not defining an `apiGroups` attribute. However, creating the ClusterRole myself with those rules with `kubectl apply` works just fine.
Changed in juju: | |
status: | New → Triaged |
assignee: | nobody → Yang Kelvin Liu (kelvin.liu) |
milestone: | none → 2.7-beta1 |
Changed in juju: | |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
importance: | Undecided → High |
Changed in juju: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/juju/ juju/pull/ 10755 will be landed to 2.7 to fix this.