Skip to content

Incompatible with newer kustomize/kubectlΒ #345

@cjyar

Description

@cjyar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions