-
Notifications
You must be signed in to change notification settings - Fork 35
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
clarify 'Host/Name in Template' by adding ascii diagram #104
base: master
Are you sure you want to change the base?
Conversation
This update tries to make it really clear 'host' is a key word that exists in two namespaces 1) as a apply parameter, and 2) template value. It would have been nice if these string had been different, but we have what we do and the best in this situation is to try to be as clear and explicit as possible the two 'hosts' are separate but related. Co-authored-with: Jack Holdsworth <[email protected]> Signed-off-by: Sami Kerola <[email protected]>
| | ||
v | ||
+----------------------------------------+ | ||
| get domain from template: example.com. | |
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.
What is the meaning of "get domain from template"? Or is it the domain of apply call (L1964) ?
| | ||
v | ||
+------------------------------+ | ||
| does template include: host? | |
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 part should be somehow in loop over all the records, shouldn't it?
+-------------------------+ | | ||
^ v | ||
| +----------------+ | ||
yes--| is the host: @ | |
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.
Somewhere in between should be also variable resolution, which can also be in the host field.
| no | ||
v | ||
+-----------------------------+ | ||
| get host from template: bar | |
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.
Somehow would be good to be more indicative which part is an algorithm and which one is an example
This update tries to make it really clear 'host' is a key word that exists in two namespaces 1) as a apply parameter, and 2) template value. It would have been nice if these string had been different, but we have what we do and the best in this situation is to try to be as clear and explicit as possible the two 'hosts' are separate but related.
Co-authored-with: Jack Holdsworth [email protected]