Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Update RBAC version #618

Merged
merged 4 commits into from
Jul 6, 2021
Merged

Update RBAC version #618

merged 4 commits into from
Jul 6, 2021

Conversation

kingdonb
Copy link
Member

@kingdonb kingdonb commented Jun 21, 2021

Piggybacking off #599, this PR removes the last vestiges of rbac.authorization.k8s.io/v1beta1 in favor of rbac.authorization.k8s.io/v1 that has been available since Kubernetes 1.8. This is also required for K8s 1.22.x next release.

I gave this some testing with a chartmuseum and the test suite that #599 provided, and I was able to install it on Kubernetes 1.22.0-alpha.3 which I've been working on to be sure we catch all the deprecations.

There is a PR at kingdonb#1 where I am noodling around with the crd-test chart, to prove to my satisfaction that Helm Operator can install charts based on the new CRD version (which I will open against my own fork, for now; I'm not sure how to incorporate them for merging just yet.)

Signed-off-by: Philip Laine <philip.laine@gmail.com>
Signed-off-by: Kingdon Barrett <yebyen@gmail.com>
The cluster rbac and rbac roles in the helm chart templates can still
reference the old v1beta1 rbac.authorization.k8s.io API, which must be
removed in preparation for K8s 1.22.

The CRD changes already meant that Kubernetes 1.16+ was required in the
(next) newest version of Helm Operator.

This change requires K8s 1.8+ so, while we can mention it separately in
the release notes, it does not add any additional functional requirement
for the users, as they must already upgrade to this version or greater.

Signed-off-by: Kingdon Barrett <yebyen@gmail.com>
@kingdonb kingdonb changed the title WIP Update RBAC version Update RBAC version Jun 23, 2021
@kingdonb kingdonb marked this pull request as ready for review June 23, 2021 23:28
@kingdonb
Copy link
Member Author

This PR is already in 1.4.0-rc1 👍

@kingdonb kingdonb requested a review from hiddeco June 25, 2021 17:51
Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

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

💯

@kingdonb kingdonb merged commit abb79a3 into fluxcd:master Jul 6, 2021
@kingdonb kingdonb deleted the update/rbac-version branch July 6, 2021 18:33
@kingdonb kingdonb mentioned this pull request Jul 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants