kubernetes-retired / multi-tenancy

A working place for multi-tenancy related proposals and prototypes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HNC: Add label to excluded namespaces and enforce it by reconcilers

yiqigao217 opened this issue · comments

In a reconciler, add a label (name undecided yet) to all the excluded namespaces and remove the same label from any other namespaces if added by users. The reconciler can be the hc reconciler in reconcilers/hierarchy_config.go.

In that case, we can hard-code the label in the validatingwebhookconfiguration to exclude validation on these excluded namespaces.

/cc @adrianludwin

Could you please help tag this issue with backlog milestone?

/help-wanted

Same as #374, fixed by #1444.