-
Notifications
You must be signed in to change notification settings - Fork 160
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
rbac.authorization.k8s.io/v1beta1 should be flagged deprecated also #106
Comments
Thanks @sotoiwa, thanks for reporting this. This has been already merged to master in #160. You should be able to test this in the latest nightly pre-release, but the experience may vary as we've added quite a few resources, so before we cut the next release, we're looking to implement some intelligent filtering #130 to display only relevant resources. The groundwork for that has already been done in #139, so this should happen fairly soon. |
@stepanstipl It looks like the 160 PR adds the right fixture, but I think the rego should be updated from |
Hi @zcicala thanks, I originally took the info about this from the Deprecated API Migration Guide, and it seems to be correct -https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.8.md:
I think the terminology here is a bit unclear (the version for resources to be removed changed a few times), but the idea of the |
@stepanstipl Ah,, I think I understand now. I interpreted the Where does this project configure the version that an API is deprecate or removed? |
So this is currently not tracked on individual resources, but the rules are grouped by the K8S version when APIs are removed, you can see this in
and in the output, it looks like:
I hope this makes sense. This might change in future to support some more advanced use-cases (see #154), but that's a bit of an open topic atm. |
I'm going to close this, as support for detecting |
All resources within the
rbac.authorization.k8s.io/v1beta1
API groups are deprecated in favor of rbac.authorization.k8s.io/v1https://v1-17.docs.kubernetes.io/docs/setup/release/notes/#deprecations-and-removals
The text was updated successfully, but these errors were encountered: