wave-k8s / wave

Kubernetes configuration tracking controller
Apache License 2.0
646 stars 82 forks source link

use rbac.authorization.k8s.io/v1 #119

Closed aravol closed 2 years ago

aravol commented 2 years ago

rbac.authorization.k8s.io/v1beta1 ClusterRole and ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+, and breaks installations on newer systems

github-actions[bot] commented 2 years ago

This issue has been inactive for 60 days. If the issue is still relevant please comment to re-activate the issue. If no action is taken within 7 days, the issue will be marked closed.

koehn commented 2 years ago

Bump. Please merge.

jessequinn commented 2 years ago

is this project dead? basically we cant use wave above 1.21.

mwmahlberg commented 2 years ago

is this project dead? basically we cant use wave above 1.21.

The deployment is extremely simple, adjusting it for newer API versions also is no rocket science.

aravol commented 2 years ago

See PR #120

samiracho commented 1 year ago

This is what I did until the helm chart is updated.

Create a file called patch.sh with the content

#!/usr/bin/env bash
sed 's|rbac.authorization.k8s.io/v1beta1|rbac.authorization.k8s.io/v1|g' <&0

Then add the post-renderer argument to helm e.g: helm install ... --post-renderer=./patch.sh

toelke commented 4 months ago

I merged #112 to fix this.