Closed timstoop closed 1 year ago
Hi,
I installed version 0.3.0 on our test cluster using the installation method as provides in the release nodes. The
capi-kamaji-controller-manager
is running in thekamaji-system
namespace, however, it's throwing this error:2023-08-20T11:36:02Z ERROR controller-runtime.source.EventHandler failed to get informer from cache {"error": "failed to get API group resources: unable to retrieve the complete list of server APIs: kamaji.clastix.io/v1alpha1: the server could not find the requested resource"} sigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1.1 /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/source/kind.go:68 k8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext.func1 /go/pkg/mod/k8s.io/apimachinery@v0.27.2/pkg/util/wait/loop.go:62 k8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext /go/pkg/mod/k8s.io/apimachinery@v0.27.2/pkg/util/wait/loop.go:63 k8s.io/apimachinery/pkg/util/wait.PollUntilContextCancel /go/pkg/mod/k8s.io/apimachinery@v0.27.2/pkg/util/wait/poll.go:33 sigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1 /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/source/kind.go:56
Looks to me like it's missing RBAC permissions?
Did you install kamaji controller on your cluster? (getting started : https://kamaji.clastix.io/getting-started/)
I did not :sweat_smile:
That said, it's not really mentioned anywhere in this repo that I noticed. I know it kinda makes sense, now that I think about it, but having it in the docs would be nice as well.
@timstoop Unfortunately there's no way to inject dependencies using the clusterctl
manifests.
Your point in increasing the documentation without giving anything for granted is valid, please, contribute to the project since it's much easier reading a markdown file rather than looking for errors output in the issues section.
Hi,
I installed version 0.3.0 on our test cluster using the installation method as provides in the release nodes. The
capi-kamaji-controller-manager
is running in thekamaji-system
namespace, however, it's throwing this error:Looks to me like it's missing RBAC permissions?