open-feature / open-feature-operator

A Kubernetes feature flag operator
https://openfeature.dev
Apache License 2.0
181 stars 35 forks source link

fix: adapt rolebinding to modified manager role #647

Closed bacherfl closed 4 months ago

bacherfl commented 4 months ago

Closes #645

This PR solves the issue by also adapting the ClusterRoleBinding using the recently modified ClusterRole. The reason this was failing is because due to the delete overlay for the manager-role, the open-feature-operator prefix was not added to the ClusterRoleBinding anymore, which resulted in the ClusterRoleBinding referring to the wrong ClusterRole (manager-role instead of open-feature-operator-manager-role)

toddbaert commented 4 months ago

Rendered chart looks right when tested locally. Merging.