Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

TemplateInstance: fail if non namespaced scope resource should be deployed #33

Open
FabianKramm opened this issue Feb 14, 2020 · 0 comments

Comments

@FabianKramm
Copy link
Member

At the moment it is possible to define cluster scoped resources in a template and a TemplateInstance in a namespace that deploys these resources. This can lead to problematic behavior, since two templateinstances in two different namespaces that would point to the same template (which is allowed and encouraged) would override the clusterresource of each other and is basically currently the result of some kind of undefined behavior.

Hence, we should restrict and check during deployment of a TemplateInstance if a given resource is namespaced or cluster scoped and let the TemplateInstance fail if it is a cluster scoped resource.

@FabianKramm FabianKramm changed the title TemplateInstance: ensure only namespaced resources can be deployed TemplateInstance: fail if non namespaced scope resource should be deployed Feb 14, 2020
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