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

Consider generating kustomize bases from helm charts #741

Open
killianmuldoon opened this issue Jan 8, 2024 · 1 comment
Open

Consider generating kustomize bases from helm charts #741

killianmuldoon opened this issue Jan 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@killianmuldoon
Copy link
Contributor

As far as I understand the network-operator repo has two deployment pipelines - a helm chart and a kustomize flow. This can cause issues where changes need to be made on both in parallel and kept in sync.

In order to convert this to a single flow we could generate the kustomize bases from the helm charts. This should be possible with https://github.com/kubernetes-sigs/kustomize/blob/master/examples/chart.md but requires some config to get it right.

This would allow the helm charts to be the source of truth for creation of the manifests with a layer of kustomize patches for workflows where needed. The end result should be that much of the config folder could be regenerated on the fly, leaving only specific configurations, e.g. default, dev, actually having meaningful changes.

This should be enforced by adding a CI check to ensure the kustomize bases do not go out of sync with what is generated from the helm charts.

@killianmuldoon killianmuldoon added the enhancement New feature or request label Jan 8, 2024
@killianmuldoon
Copy link
Contributor Author

FYI @vasrem seeing as we spoke about this earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant