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
When a Job resource with either the kustomize.toolkit.fluxcd.io/ssa: ignore or kustomize.toolkit.fluxcd.io/reconcile: disabled annotation is present in the cluster, Flux will throw an error during the next reconcile:
delete failed, errors: Job/ query failed: resource name may not be empty;
This error is both unexpected and rather hard to "decipher".
Steps to reproduce
Add a Job resource to Git repository with one of the mentioned annotations
Manually apply Job to run it on-demand
Have Flux reconcile, either on schedule or manually
Flux throws error as listed in description
Expected behavior
Flux shouldn't care about the manually created Job resource and as such shouldn't throw the error (step 4).
Describe the bug
When a
Job
resource with either thekustomize.toolkit.fluxcd.io/ssa: ignore
orkustomize.toolkit.fluxcd.io/reconcile: disabled
annotation is present in the cluster, Flux will throw an error during the next reconcile:This error is both unexpected and rather hard to "decipher".
Steps to reproduce
Job
resource to Git repository with one of the mentioned annotationsJob
to run it on-demandExpected behavior
Flux shouldn't care about the manually created
Job
resource and as such shouldn't throw the error (step 4).Screenshots and recordings
No response
OS / Distro
N/A
Flux version
v2.2.2
Flux check
► checking prerequisites
✔ Kubernetes 1.28.3-gke.1286000 >=1.26.0-0
► checking version in cluster
✔ distribution: flux-v2.2.2
✔ bootstrapped: true
► checking controllers
✔ helm-controller: deployment ready
► ghcr.io/fluxcd/helm-controller:v0.37.2
✔ image-automation-controller: deployment ready
► ghcr.io/fluxcd/image-automation-controller:v0.37.0
✔ image-reflector-controller: deployment ready
► ghcr.io/fluxcd/image-reflector-controller:v0.31.1
✔ kustomize-controller: deployment ready
► ghcr.io/fluxcd/kustomize-controller:v1.2.1
✔ notification-controller: deployment ready
► ghcr.io/fluxcd/notification-controller:v1.2.3
✔ source-controller: deployment ready
► ghcr.io/fluxcd/source-controller:v1.2.3
► checking crds
✔ alerts.notification.toolkit.fluxcd.io/v1beta3
✔ buckets.source.toolkit.fluxcd.io/v1beta2
✔ gitrepositories.source.toolkit.fluxcd.io/v1
✔ helmcharts.source.toolkit.fluxcd.io/v1beta2
✔ helmreleases.helm.toolkit.fluxcd.io/v2beta2
✔ helmrepositories.source.toolkit.fluxcd.io/v1beta2
✔ imagepolicies.image.toolkit.fluxcd.io/v1beta2
✔ imagerepositories.image.toolkit.fluxcd.io/v1beta2
✔ imageupdateautomations.image.toolkit.fluxcd.io/v1beta1
✔ kustomizations.kustomize.toolkit.fluxcd.io/v1
✔ ocirepositories.source.toolkit.fluxcd.io/v1beta2
✔ providers.notification.toolkit.fluxcd.io/v1beta3
✔ 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: