Skip to content

Commit

Permalink
Grant provider access to status subresource in clusters (openshift#177)
Browse files Browse the repository at this point in the history
Currently when provider tries to update cluster status, it gets error:

  User "system:serviceaccount:openstack-provider-system:default" cannot update resource "clusters/status" in API group "cluster.k8s.io" in the namespace "default"

This happens because "status" is separate subresource and access to it
must be granted separately.
  • Loading branch information
YorikSar authored and flaper87 committed Jan 10, 2019
1 parent 973889f commit 641fb87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/rbac/rbac_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ rules:
- cluster.k8s.io
resources:
- clusters
- clusters/status
- machines
- machinedeployments
- machinesets
Expand Down

0 comments on commit 641fb87

Please sign in to comment.