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
If multiple $patch: delete strategic merge patches are provided in a single spec.patches.patch in a kustomize.toolkit.fluxcd.io/v1.Kustomization resource, kustomize-controller fails to reconcile with the following status:
{"level":"error","ts":"2024-12-09T18:41:35.677Z","msg":"Reconciliation failed after 108.007784ms, next try in 1h0m0s","controller":"kustomization","controllerGroup":"kustomize.toolkit.fluxcd.io","controllerKind":"Kustomization","Kustomization":{"name":"debug","namespace":"flux-system"},"namespace":"flux-system","name":"debug","reconcileID":"5eef40e9-8bf0-4a65-a178-eae10b04f877","revision":"main@sha1:4258282a038ab9506e1b37b3a44cc5ab4d38075e","error":"kustomize build failed: recovered from kustomize build panic: runtime error: invalid memory address or nil pointer dereference"}
The Kustomization resource needs to look like that:
Wait for Flux to reconcile and observe the status above.
Additional details
Apparently closely related to kubernetes-sigs/kustomize#5552? The current Flux-specific workaround is simply to split every removal patch into its separate - patch:.
The text was updated successfully, but these errors were encountered:
Environment
Description
If multiple
$patch: delete
strategic merge patches are provided in a singlespec.patches.patch
in akustomize.toolkit.fluxcd.io/v1.Kustomization
resource, kustomize-controller fails to reconcile with the following status:kustomize-controller log reports the following:
The Kustomization resource needs to look like that:
Reproduction steps
Additional details
Apparently closely related to kubernetes-sigs/kustomize#5552? The current Flux-specific workaround is simply to split every removal patch into its separate
- patch:
.The text was updated successfully, but these errors were encountered: