configMapGenerator accepts .zip files? #5697
Unanswered
mireiacaballe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
We have recently updated from flux 1 to 2 and we have started to have problems with a .zip file that we have defined in the kustomization with the configMapGenerator:
Error in the kustomization-controller:
{"level":"error","ts":"2024-05-15T09:38:20.897Z","msg":"Reconciliation failed after 80.99742ms, next try in 2s","controller":"kustomization","controllerGroup":"kustomize.toolkit.fluxcd.io","controllerKind":"Kustomization","Kustomization":{"name":"app","namespace":"flux-system"},"namespace":"flux-system","name":"app","reconcileID":"22b7fff5-951b-484b-a9a7-a505c87b9a1b","revision":"master@sha1:87af1a04dfe9ec8b2bce10431091453863bb511e","error":"kustomize build failed: accumulating resources: accumulation err='accumulating resources from '../../base': read /tmp/kustomization-2408402046/base: is a directory': recursed accumulation of path '/tmp/kustomization-2408402046/base': loading KV pairs: file sources: [grafana -provisioning/dashboards/k8s/k8s.zip]: **open /tmp/kustomization-2408402046/base/grafana-provisioning/dashboards/k8s/k8s.zip: no such file or directory**"}
The file exists in the repo path:
Should this still work with flux v2 or is this something that has changed?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions