RBAC Migration Followup #25: Deprecate policy commands in favor of RBAC equivalents
Open
@simo5 is already working on this.
Since Jan 12, 2018.
area/documentation
area/security
area/techdebt
lifecycle/frozen
priority/P2
sig/security
- Dominant language
- Go
- Stars
- 8.7k
- Forks
- 4.8k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 53
Description
Add cobra.Command.Deprecated to the following commands:
oc adm policy {add|remove}-{cluster-}role-{to|from}-{user|group}--->oc {create|edit} {cluster}role{binding}oc adm policy reconcile-cluster-role-{bindings}--->oc auth reconcileoc policy can-i--->oc auth can-ioc adm policy remove-{user|group}--->oc {delete|edit} rolebinding- Update docs https://docs.openshift.org/latest/admin_guide/manage_rbac.html#managing-role-bindings
- Update ansible playbooks to use RBAC commands instead
Deprecated should contain a pointer to the RBAC equivalent command. The CLI completions will have to be regenerated since we do not include completions for deprecated commands.
@liggitt @deads2k any others come to mind?
cc @bparees @openshift/sig-security @juanvallejo @fabianofranz
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.