weave-gitops icon indicating copy to clipboard operation
weave-gitops copied to clipboard

Error no matches for kind "OCIRepository" in version "source.toolkit.fluxcd.io/v1beta2"

Open grglzrv opened this issue 3 years ago • 1 comments

Describe the bug We are getting error - no matches for kind "OCIRepository" in version "source.toolkit.fluxcd.io/v1beta2" in our Weave UI

image image

Environment Stage and PROD

  • Weave-Gitops Version - HEAD-c26a1c39 helm chart version - 3.0.3
  • Flux: v0.31.5
  • Kubernetes: v1.20.15-eks-18ef993

To Reproduce Steps to reproduce the behavior:

Additional Context (screenshots, logs, etc) image

image

grglzrv avatar Sep 03 '22 14:09 grglzrv

Hi @grglzrv

Thank you for filing the issue. Please use Flux v0.32.0+.

Flux v0.31.x has Helm OCI support, but not OCIRepository.

chanwit avatar Sep 04 '22 07:09 chanwit

Closing based on the guidance above, please re-open if you require any further assistance.

sympatheticmoose avatar Nov 04 '22 13:11 sympatheticmoose

@sympatheticmoose I have 0.37.x installed and still getting the OCIRepository error. Was running 0.31.5 before I just upgraded. Dashboard is showing 0.37 in Flux runtime but under sources still error.

Also dashboard I see oci in the CRDs tab now. So not sure why the error still showing.

cdenneen avatar Dec 01 '22 17:12 cdenneen

@sympatheticmoose doing

❯ kubectl -n flux-system rollout restart deploy/ww-gitops-weave-gitops
deployment.apps/ww-gitops-weave-gitops restarted

fixed the issue.

cdenneen avatar Dec 01 '22 17:12 cdenneen