Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aliases and deprecation warnings #921

Merged
merged 4 commits into from
Dec 17, 2019
Merged

Conversation

lblackstone
Copy link
Member

Proposed changes

  • Add aliases for NetworkPolicy, PodSecurityPolicy, and
    PriorityClass.
  • Update "removed in" warning for rbac/v1alpha1 and rbac/v1beta1

Related issues (optional)

Fixes #919

* Add aliases for `NetworkPolicy`, `PodSecurityPolicy`, and
`PriorityClass`.
* Update "removed in" warning for `rbac/v1alpha1` and `rbac/v1beta1`
@lukehoban
Copy link
Contributor

Once question mostly for curiosity - are there primary sources for any of these mappings either in docs or in upstream source code? Would be great to link to them from our mappings in code so that we can more easily determine if/when there has been drift in the future.

@lblackstone
Copy link
Member Author

Unfortunately there’s no single source of truth here. Release notes generally discuss deprecations, but this hasn’t been consistent between releases.

I’ll go ahead and add links for ones I can find.

@lblackstone lblackstone force-pushed the lblackstone/more-aliases branch from dfd5b77 to be63213 Compare December 17, 2019 17:28
@lblackstone lblackstone requested a review from metral December 17, 2019 17:28
@lblackstone
Copy link
Member Author

@metral I missed a few more aliases/deprecations, and added some reference comments

Copy link
Contributor

@metral metral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

Thanks for adding in the ref links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing aliases and deprecation warnings for some API resources
3 participants