draft-classic icon indicating copy to clipboard operation
draft-classic copied to clipboard

Support `helm template | kubectl apply -f -`

Open danmikita opened this issue 7 years ago • 3 comments

Draft is an excellent local development tool, but many production kubernetes (and openshift) installations do not use Tiller. Although Helm 3 will be getting rid of Tiller, adding helm template | kubectl apply -f - for the Helm 2 version of Draft would increase adoption.

danmikita avatar Dec 17 '18 15:12 danmikita

Love this idea. Is the right place for this here or with Helm?

j-rewerts avatar Jan 25 '19 02:01 j-rewerts

My thought is that since draft currently utilizes the Helm go package, which doesn't have a clean template implementation (the template cmd is pretty much a hodge-podge of the functions leading up to the install cmd), it would need to be manually implemented in Draft. That being said - with Helm 3 and the removal of Tiller imminent, this issue may be resolved on its own.

danmikita avatar Jan 25 '19 15:01 danmikita

In Helm 3 the template command has been re-architected to cleanly re-use the same package as helm install so it should be easier to implement in that time.

https://github.com/helm/helm/pull/5171

bacongobbler avatar Jan 25 '19 17:01 bacongobbler