Incompatible with newer kustomize/kubectl
cjyar opened this issue · 0 comments
cjyar commented
Using kubectl 1.21.0 or kustomize 4.1.2, I can't process the templates here.
$ kustomize build github.com/Yolean/kubernetes-kafka/variants/scale-3-5
Error: accumulating resources: accumulation err='accumulating resources from '../../nonroot': '/private/var/folders/dp/prjrw54s6s519d0gm1l6664r0000gn/T/kustomize-094096106/nonroot' must resolve to a file': recursed accumulation of path '/private/var/folders/dp/prjrw54s6s519d0gm1l6664r0000gn/T/kustomize-094096106/nonroot': no matches for IdId apps_v1_StatefulSet|~X|kafka; failed to find unique target for patch apps_v1_StatefulSet|kafka
Using kubectl 1.14, I can process them using kubectl apply --dry-run -o yaml -k ...
.