flux-helm-operator repeats error "server could not find the requested resource (get helmreleases.flux.weave.works)"

Created on 6 Aug 2019  路  2Comments  路  Source: fluxcd/flux

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

  • CHART - flux-0.11.0
  • APP VERSION - 1.13.2
  • k8s cluster - minikube

Following the instructions on https://docs.fluxcd.io/en/latest/tutorials/get-started-helm.html, I

  1. Forked the https://github.com/fluxcd/flux-get-started
  2. Modified the repo to use my username
  3. Ran helm install
  4. A flux-helm-operator pod is created that repeats the above error indefinitely.

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)

blocked-needs-validation bug

Most helpful comment

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

All 2 comments

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.

Was this page helpful?
0 / 5 - 0 ratings