Yolean / kubernetes-kafka

Kafka cluster as Kubernetes StatefulSet, plain manifests and config
Apache License 2.0
1.83k stars 738 forks source link

Incompatible with newer kustomize/kubectl #345

Open cjyar opened 3 years ago

cjyar commented 3 years ago

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 ....