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

update template namespace behavior description to reflect parameter support #3809

Merged
merged 1 commit into from Feb 22, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 6 additions & 5 deletions dev_guide/templates.adoc
Expand Up @@ -589,11 +589,12 @@ objects:

[NOTE]
====
If an object definition's metadata includes a `namespace` field, the field
will be stripped out of the definition during template instantiation. This is
necessary because all objects created during instantiation are placed into the
target namespace, so it would be invalid for the object to declare a different
namespace.
If an object definition's metadata includes a fixed `namespace` field value, the field
will be stripped out of the definition during template instantiation. If the
`namespace` field contains a parameter reference, normal parameter substitution
will be performed and the object will be created in whatever namespace the
parameter substitution resolved the value to, assuming the user has permission
to create objects in that namespace.
====

[[other-recommendations]]
Expand Down