When I install the flux-helm-operator I get this error repeated forever
6 reflector.go:126] pkg/mod/k8s.io/[email protected]+incompatible/tools/cache/reflector.go:94: Failed to list *v1beta1.HelmRelease: the server could not find the requested resource (get helmreleases.flux.weave.works)
To Reproduce
Following the instructions on https://docs.fluxcd.io/en/latest/tutorials/get-started-helm.html, I
Expected behavior
Should not be emitting error logs
Logs
W0805 21:47:19.173316 6 client_config.go:549] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
ts=2019-08-05T21:47:19.18606917Z caller=helm.go:88 component=helm info="connected to Tiller" version="sem_ver:\"v2.14.2\" git_commit:\"a8b13cc5ab6a7dbef0a58f5061bcc7c0c61598e7\" git_tree_state:\"clean\" " host=tiller-deploy.kube-system:44134 options="{Host: Port: Namespace:kube-system TLSVerify:false TLSEnable:false TLSKey:/etc/fluxd/helm/tls.key TLSCert:/etc/fluxd/helm/tls.crt TLSCACert: TLSHostname:}"
ts=2019-08-05T21:47:19.186237363Z caller=operator.go:95 component=operator info="setting up event handlers"
ts=2019-08-05T21:47:19.18625816Z caller=operator.go:115 component=operator info="event handlers set up"
ts=2019-08-05T21:47:19.186265934Z caller=main.go:213 component=helm-operator info="waiting for informer caches to sync"
E0805 21:47:19.187608 6 reflector.go:126] pkg/mod/k8s.io/[email protected]+incompatible/tools/cache/reflector.go:94: Failed to list *v1beta1.HelmRelease: the server could not find the requested resource (get helmreleases.flux.weave.works)
E0805 21:47:20.190504 6 reflector.go:126] pkg/mod/k8s.io/[email protected]+incompatible/tools/cache/reflector.go:94: Failed to list *v1beta1.HelmRelease: the server could not find the requested resource (get helmreleases.flux.weave.works)
I think you missed the step with the CRD install:
kubectl apply -f https://raw.githubusercontent.com/fluxcd/flux/master/deploy-helm/flux-helm-release-crd.yaml
Thanks.
Most helpful comment
I think you missed the step with the CRD install: