This pr is to fix issue 638. It's a known issue that currently if cluster is arktos, and the namespace belongs to a tenant, kube_get_namespace will return None because the kubernetes client is not for arktos and it cannot retrieve the namespace of non-system tenant. For now we have to ignore the namespace of non-system tenant.
couple month ago there was a member tried to solve the issue by sending needed namespace info from arktos to mizar. But the work was not done successfully and the member left the project. In the future we shall consider how to resolve this known issue.
This pr is to fix issue 638. It's a known issue that currently if cluster is arktos, and the namespace belongs to a tenant, kube_get_namespace will return None because the kubernetes client is not for arktos and it cannot retrieve the namespace of non-system tenant. For now we have to ignore the namespace of non-system tenant.
couple month ago there was a member tried to solve the issue by sending needed namespace info from arktos to mizar. But the work was not done successfully and the member left the project. In the future we shall consider how to resolve this known issue.
What type of PR is this? /kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #638
Special notes for your reviewer:
Does this PR introduce a user-facing change?: