summaryrefslogtreecommitdiff
path: root/app/models/clusters/applications/knative.rb
diff options
context:
space:
mode:
authorChris Baumbauer <cab@cabnetworks.net>2018-11-15 11:39:43 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2018-11-15 11:39:43 +0000
commit327892b23e72eb9a4af773f58f9abaf8e9c34fde (patch)
tree0f576e269c9ac17d501a130ed52dad70db4d5d2f /app/models/clusters/applications/knative.rb
parent0f25d2b33fbee7161f0ecf26a6d853533808beec (diff)
downloadgitlab-ce-327892b23e72eb9a4af773f58f9abaf8e9c34fde.tar.gz
Add knative client to kubeclient library
Diffstat (limited to 'app/models/clusters/applications/knative.rb')
-rw-r--r--app/models/clusters/applications/knative.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/clusters/applications/knative.rb b/app/models/clusters/applications/knative.rb
index a79a97576d1..c66d5ce54db 100644
--- a/app/models/clusters/applications/knative.rb
+++ b/app/models/clusters/applications/knative.rb
@@ -41,6 +41,10 @@ module Clusters
)
end
+ def client
+ cluster.platform_kubernetes.kubeclient.knative_client
+ end
+
private
def install_script