helmfile icon indicating copy to clipboard operation
helmfile copied to clipboard

Support kubectl builtin kustomize

Open jkroepke opened this issue 3 years ago • 6 comments

Hi,

I tried strategicMergePatches do today, but It failed because "kustomize": executable file not found in $PATH.

Since kubernetes 1.14, kustomize ist part of the kubectl command (kubectl kustomize). The standalone kustomize binary should not required anymore.

jkroepke avatar Nov 24 '20 19:11 jkroepke

My coworker said that this is because the kustomize in kubectl is old, and not featureful enough as the standalone version.

eigood avatar Nov 24 '20 22:11 eigood

Maybe not all feature are required for helmfile?

kustomize in kubectl is old

Just for reference: https://github.com/kubernetes-sigs/kustomize/issues/1500

jkroepke avatar Nov 24 '20 22:11 jkroepke

@jkroepke Maybe interesting to you: the Docker image of Helmfile now includes kustomize. https://github.com/roboll/helmfile/pull/1626

dalbani avatar Jan 14 '21 11:01 dalbani

@eigood https://github.com/kubernetes/kubernetes/pull/98946 looks like in next kubectl, kustomize is up 2 date. this could be relevant now

jkroepke avatar Mar 17 '21 19:03 jkroepke

Does helmfile still require kustomize binary?

petrovicboban avatar Feb 15 '22 14:02 petrovicboban

It seems it doesn't, from #1736 . This issue should be reviewed and closed.

petrovicboban avatar Feb 15 '22 14:02 petrovicboban