-
Notifications
You must be signed in to change notification settings - Fork 30
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
adding template groups #104
Conversation
- template: my-deployment.yaml.j2 | ||
- template: my-service.yaml.j2 | ||
tags: service-one | ||
- group: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This group deployed always or only when no groups selected?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
группы просто способ структурирования, они позволят делать например так:
для одного окружения:
kubectl:
- group: *coredns
для другого окружения
kubectl:
- group: *coredns
- group: *dnsmasq
набор темплитов можно будет описать один раз
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Group with - template: my-job.yaml.j2
have not any tags. How to render this templates? Write in documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks acceptable at this moment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like
добавил группы, так можно интереснее формировать список темплейтов используя магию с ямлами