projectsyn/commodore

Add support for using `kustomize` in components

simu opened this issue · 1 comments

simu commented

Context

We've written a bunch of components where we manually download upstream manifests which are intended to be rendered with kustomize, e.g. https://github.com/projectsyn/component-kyverno/. By having to download and render all manifests individually instead of being able to leverage kustomize, errors can happen, e.g. projectsyn/component-kyverno#46

There's already a draft PR to add kustomize to the Commodore container image: #430

Additionally, we'll want at least basic documentation showing how to call kustomize from a component. We may be able to use Kapitan's external input type to run kustomize. This will require the standalone kustomize binary to be present in the path when Commodore is running.

Alternatives

  • Continue downloading kustomize manifests and patching them in Jsonnet