Group clusters will have no actual_namespace
Remove the requirement to have actual_namespace before using kubeclient.
This commit is contained in:
parent
54e8ff0f21
commit
2109cb996a
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ module Clusters
|
||||||
end
|
end
|
||||||
|
|
||||||
def build_kube_client!
|
def build_kube_client!
|
||||||
raise "Incomplete settings" unless api_url && actual_namespace
|
raise "Incomplete settings" unless api_url
|
||||||
|
|
||||||
unless (username && password) || token
|
unless (username && password) || token
|
||||||
raise "Either username/password or token is required to access API"
|
raise "Either username/password or token is required to access API"
|
||||||
|
|
Loading…
Reference in a new issue