diff options
author | Peter Leitzen <pleitzen@gitlab.com> | 2019-04-29 15:34:50 +0300 |
---|---|---|
committer | Peter Leitzen <pleitzen@gitlab.com> | 2019-04-29 15:35:31 +0300 |
commit | b389ef66d46219abbd671bcdbdfdd2fb142798b8 (patch) | |
tree | 24413c674c2a892a69f8adbecd520defae8cc398 | |
parent | 38078a356f86c41e1261bd900f90d50345e745f1 (diff) |
Also define KubernetesService#namespace_for
-rw-r--r-- | app/models/project_services/kubernetes_service.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/project_services/kubernetes_service.rb b/app/models/project_services/kubernetes_service.rb index f650dbd3726..fc8afa9bead 100644 --- a/app/models/project_services/kubernetes_service.rb +++ b/app/models/project_services/kubernetes_service.rb @@ -94,6 +94,10 @@ class KubernetesService < DeploymentService end end + def namespace_for(project) + actual_namespace + end + # Check we can connect to the Kubernetes API def test(*args) kubeclient = build_kube_client! |