Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Document namespace behavior #95

Open
Quentin-M opened this issue Aug 17, 2016 · 1 comment
Open

Document namespace behavior #95

Quentin-M opened this issue Aug 17, 2016 · 1 comment

Comments

@Quentin-M
Copy link
Contributor

With both yaml and jsonnet formats, the metadata: namespace value in the manifests is overwritten with the value from --namespace (or default), after templating. Also, $.variables.namespace is available.

It should be documented as it is not intuitive.

https://github.com/coreos/kpm/blob/b26723c/kpm/kub.py#L132
https://github.com/coreos/kpm/blob/b26723c/kpm/jsonnet/lib/kpm.libjsonnet#L61

@Quentin-M
Copy link
Contributor Author

This also applies to metadata: name.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant