-
Notifications
You must be signed in to change notification settings - Fork 3
failed to list *v1alpha1.KluctlDeployment: kluctldeployments.flux.kluctl.io is forbidden #28
Comments
@lictw Do you have a |
Ofcourse.
|
Strange, I'm not able to reproduce this with a fresh |
I don't understand how it works for you.. Controller uses
Kustomize doesn't path subjects along with |
I installed helm chart as a workaround and it works. |
@lictw which Kustomize version are you using? I remember vaguely that Kustomize had a bug in the past that caused namePrefixes to be broken in combination with SAs. |
I'm using latest Flux, seems like that https://github.com/fluxcd/kustomize-controller/blob/main/CHANGELOG.md#0270 (v4.5.7). |
Controller Version
v0.9.0
Kubernetes Version
v1.21.14
Bug description
failed to list *v1alpha1.KluctlDeployment: kluctldeployments.flux.kluctl.io is forbidden: User "system:serviceaccount:flux-system:flux-kluctl-controller" cannot list resource "kluctldeployments" in API group "flux.kluctl.io" at the cluster scope
Steps to reproduce
Relevant log output
The text was updated successfully, but these errors were encountered: