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

adding template groups #104

Merged
merged 1 commit into from
Aug 9, 2019
Merged

adding template groups #104

merged 1 commit into from
Aug 9, 2019

Conversation

FreakyGranny
Copy link
Contributor

добавил группы, так можно интереснее формировать список темплейтов используя магию с ямлами

- template: my-deployment.yaml.j2
- template: my-service.yaml.j2
tags: service-one
- group:
Copy link
Collaborator

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?

Copy link
Contributor Author

@FreakyGranny FreakyGranny Aug 9, 2019

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

набор темплитов можно будет описать один раз

Copy link
Collaborator

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.

Copy link
Collaborator

@furiousassault furiousassault left a 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.

Copy link

@dcleric dcleric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

like

@dekhtyarev dekhtyarev merged commit 733104f into master Aug 9, 2019
@2gis 2gis deleted a comment from dcleric Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants