Simplest proof of concept of combining Helmfile and Kustomize to manage K8s configuration
Generate resources:
PLUGIN_ROOT=$HOME/.config/kustomize/plugin kustomize build --enable_alpha_plugins
Apply resources:
PLUGIN_ROOT=$HOME/.config/kustomize/plugin kustomize build --enable_alpha_plugins | kubectl apply -f -
- HelmfileGenerator plugin uses
helmfile template
to generate Kubernetes resources, so no Helm hooks nor Helmfile hooks can be used
- Add parameters to HelmfileGenerator to provide extra flags to
helmfile
command