mumoshu/helm-x

feat: render k8s manifests AND helm release cm/secret a.k.a `kubectl apply` to "install chart(s)"

mumoshu opened this issue · 1 comments

This allows us to integrate any tool that generates Kubernetes manifests with Helm and GitOps-based CD tool like ArgoCD.

The implementation can be done by adding a subcommand or extending existing one to allow generating K8s resources AND helm release configmap/secret(usually created and managed by tiller).

If we go the way to extend existing one, I'd suggest extending template to accept --include-release-configmap, so that the example command looks like:

helm x template $DIR_OR_CHART \
  --include-release-configmap

The result can be fed into kubectl apply -f - like:

helm x template $DIR_OR_CHART \
  --include-release-configmap | kubectl apply -f -

Now helm x template --include-release-configmap | kubectl apply -f - is equivalent to helm x apply except it doesn't run chart hooks.

Closing this as resolved via e62b040