kubernetes/plugin/pkg/auth/authorizer/rbac/bootstrappolicy
Kubernetes Submit Queue 900c0761e3 Merge pull request #53722 from deads2k/rbac-01-allow-star
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

allow */subresource in rbac policy rules

xref #29698
xref #38756
xref #49504
xref #38810

Allow `*/subresource` format in RBAC policy rules to support polymorphic subresources like `*/scale` for HPA.

@DirectXMan12 fyi

```release-note
RBAC PolicyRules now allow resource=`*/<subresource>` to cover `any-resource/<subresource>`.   For example, `*/scale` covers `replicationcontroller/scale`.
```
2017-10-18 14:02:05 -07:00
..
testdata allow */subresource in rbac policy rules 2017-10-16 16:17:51 -04:00
BUILD Update bazel 2017-10-18 17:24:04 +02:00
controller_policy.go allow */subresource in rbac policy rules 2017-10-16 16:17:51 -04:00
controller_policy_test.go Add bootstrap policy for HPA metrics REST clients 2017-09-15 17:27:38 -04:00
namespace_policy.go Merge pull request #46685 from xilabao/fix-err-message-in-namespace_policy 2017-08-03 23:59:05 -07:00
policy.go Add /swagger.json and /swagger-2.0.0.pb-v1 to discovery role 2017-10-02 21:52:13 -04:00
policy_test.go pkg/api/legacyscheme: fixup imports 2017-10-18 17:23:55 +02:00