open-feature / open-feature-operator

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

[BUG] Helm deploy broken #645

Closed toddbaert closed 1 month ago

toddbaert commented 1 month ago

OFO v0.5.6 never starts up when installed with Helm.

With OFO version 0.5.6, from the manager pod logs, I get:

failed to list *v1 │
│ .Deployment: deployments.apps is forbidden: User "system:serviceaccount:open-feature-operator-system:open-feature-operator-contro │
│ ller-manager" cannot list resource "deployments" in API group "apps" at the cluster scope: RBAC: clusterrole.rbac.authorization.k │
│ 8s.io "manager-role" not found

The pod fails to become ready. This is related to this newly added helm overlay here. If I remove this overlay, things work as expected. Keeping it results in the role not existing in the cluster.

Possibly related, I noticed this delta in the output charts (comparing v0.5.5 to v0.5.6):

image