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

rancher2-deployment: allow splitting up of the deployment template #86

Open
jzaefferer opened this issue Feb 10, 2020 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@jzaefferer
Copy link

jzaefferer commented Feb 10, 2020

Our ops/deploy/deployment.tmpl.yml is getting quite big. Splitting that up into multiple files, by service, could help.

Maybe like this:

- ingress.tmpl.yml # kind: Certificate and kind: Ingress
- frontend.tmpl.yml
- auth.tmpl.yml
- [service-n].tmpl.yml

Deploying with kubectl -f dir/ could be an option, but that could break template logic and variables that all files need.

Maybe concatenate multiple files into one, before deploying it. Like 001-service-a.tmpl.yml, 002-service-b.tmpl.yml, then cat *.yml > deployment.tmpl.yml.

@bemeyert bemeyert added the enhancement New feature or request label Feb 13, 2020
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

2 participants