Group clusters will have no actual_namespace

Remove the requirement to have actual_namespace before using kubeclient.
This commit is contained in:
Thong Kuah 2018-11-02 13:41:49 +13:00
parent 54e8ff0f21
commit 2109cb996a

View file

@ -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"