You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We load CRDs to the repo like from a kustomization pointed in a flux kustomize .
Below command works fine when i try on 0.41.2 , but doesn't return anything on 2.0.1. I couldn't see any flags like load-restrictor in docs/code for cli commands. Couldn't trace what change would have caused this too, not sure if i have missed any docs
I think this may have broken with #3763 when calling NewGeneratorWithIgnore. The problem is in fluxcd/pkg which ends up filtering out the resources in filterSlice which removes all urls from the resources.
Describe the bug
We load CRDs to the repo like from a kustomization pointed in a flux kustomize .
Below command works fine when i try on 0.41.2 , but doesn't return anything on 2.0.1. I couldn't see any flags like load-restrictor in docs/code for cli commands. Couldn't trace what change would have caused this too, not sure if i have missed any docs
flux build kustomization traefik-crd --path ./apps/admin/traefik-crds --kustomization-file apps/admin/base/kustomize.yam
Steps to reproduce
flux build kustomization traefik-crd --path ./apps/admin/traefik-crds --kustomization-file apps/admin/base/kustomize.yam
Expected behavior
Screenshots and recordings
No response
OS / Distro
Arch Linux
Flux version
v2.0.1
Flux check
flux check
► checking prerequisites
✗ flux 0.41.2 <2.0.1 (new version is available, please upgrade)
✔ Kubernetes 1.25.6 >=1.20.6-0
► checking controllers
✔ helm-controller: deployment ready
► ghcr.io/fluxcd/helm-controller:v0.35.0
✔ kustomize-controller: deployment ready
► ghcr.io/fluxcd/kustomize-controller:v1.0.1
✔ notification-controller: deployment ready
► ghcr.io/fluxcd/notification-controller:v1.0.0
✔ source-controller: deployment ready
► ghcr.io/fluxcd/source-controller:v1.0.1
► 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: