Commit 2109cb99 authored by Thong Kuah's avatar Thong Kuah

Group clusters will have no actual_namespace

Remove the requirement to have actual_namespace before using kubeclient.
parent 54e8ff0f
...@@ -150,7 +150,7 @@ module Clusters ...@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment