diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-05-23 14:55:26 +0100 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-05-23 14:55:26 +0100 |
commit | 7a73cff72edccfe00eeb78657c338bd996e1c561 (patch) | |
tree | eb721f228e8d848a06bb9a0c788cf6974b349779 | |
parent | ceb628e5706d35c28b6b1791add1ccc400ae8b19 (diff) | |
download | gitlab-ce-7a73cff72edccfe00eeb78657c338bd996e1c561.tar.gz |
-rw-r--r-- | config/initializers/kubeclient.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/kubeclient.rb b/config/initializers/kubeclient.rb index 1847b9e0e89..7f115268b37 100644 --- a/config/initializers/kubeclient.rb +++ b/config/initializers/kubeclient.rb @@ -9,6 +9,7 @@ class Kubeclient::Client else @entities[kind.to_s].resource_name end + ns_prefix = build_namespace_prefix(namespace) rest_client["#{ns_prefix}#{entity_name_plural}/#{name}:#{port}/proxy"].url end |