Change `hasSubnamespace` to a global variable
Change `hasSubnamespace` to a global variable

As discussed with Adrian Ludwing offline, changing the `hasSubnamespace`
variable to a global variable for cleaner code struct.

Tested: make kubectl

kubernetes-sigs/multi-tenancy,kubernetes-sigs/multi-tenancy