Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relation to kustomize or ship? #118

Open
tookko opened this issue Nov 4, 2019 · 1 comment
Open

Relation to kustomize or ship? #118

tookko opened this issue Nov 4, 2019 · 1 comment
Labels
question Further information is requested

Comments

@tookko
Copy link

tookko commented Nov 4, 2019

What's mortar's relation to kustomize in upstream or ship from replicatedhq? Is it purely an alternative approach, or do you see the tools interacting with each other?

Our use case involves doing overlays to customize existing helm charts in a managed way. Unfortunately the helm charts are using a lot of lifecycle hooks (both standard and custom) so just piping e.g. helm template into kustomize is not working very well.

@jnummelin
Copy link
Contributor

kustomize really only allows you to use overlays to customize the deployments e.g. per environment. I haven't looked at ship really at all, so cannot really comment on the relation to that. With a super quick look at the docs, "overlays" seems to be the chosen approach to customization there too.

What Mortar enables is basically overlays, templating with ERB and the overall management of complex apps as one "shot". Something similar you can do with Helm. But not adding all the complexity that comes with Helm. :) And not to mention

Essentially Mortar "just" processes the templates and overlays and outputs the resulting resources into k8s api. There are flags to just output to stdout so technically it should be possible to pipe it with other tools.

There was a PR to integrate Mortar with skaffold but that never got accepted upstream.

@jnummelin jnummelin added the question Further information is requested label Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants