Flux CLI unable to retrieve image ressource when image CRD is not installed #3973
Closed
1 task done
Labels
bug
Something isn't working
Describe the bug
Hi !
When I list all resources of flux using
flux get all
, got this error message:It's seems that it happens when it try to list image ressources but I don't have the CustomRessourceDefinition for image because it's not needed in my cluster.
I tested it in a cluster where I have the CRD and no error is outputed.
Steps to reproduce
all
:image all
:Expected behavior
No output.
Screenshots and recordings
No response
OS / Distro
macOS 13.3.1
Flux version
v2.0.0-rc.5
Flux check
► checking prerequisites
✔ Kubernetes 1.27.0 >=1.20.6-0
► checking controllers
✔ helm-controller: deployment ready
► ghcr.io/fluxcd/helm-controller:v0.34.1
✔ kustomize-controller: deployment ready
► ghcr.io/fluxcd/kustomize-controller:v1.0.0-rc.4
✔ notification-controller: deployment ready
► ghcr.io/fluxcd/notification-controller:v1.0.0-rc.4
✔ source-controller: deployment ready
► ghcr.io/fluxcd/source-controller:v1.0.0-rc.5
► checking crds
✔ alerts.notification.toolkit.fluxcd.io/v1beta2
✔ buckets.source.toolkit.fluxcd.io/v1beta2
✔ gitrepositories.source.toolkit.fluxcd.io/v1
✔ helmcharts.source.toolkit.fluxcd.io/v1beta2
✔ helmreleases.helm.toolkit.fluxcd.io/v2beta1
✔ helmrepositories.source.toolkit.fluxcd.io/v1beta2
✔ kustomizations.kustomize.toolkit.fluxcd.io/v1
✔ ocirepositories.source.toolkit.fluxcd.io/v1beta2
✔ providers.notification.toolkit.fluxcd.io/v1beta2
✔ receivers.notification.toolkit.fluxcd.io/v1
✔ all checks passed
Git provider
No response
Container Registry provider
No response
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: