summaryrefslogtreecommitdiff
path: root/app/views/projects/clusters/new.html.haml
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-09-25 16:10:25 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-25 16:10:25 +0900
commitd4fa672c20657a1c7d2fcfa25e9798e7ccdbf39d (patch)
tree416f477c9f574116d74cbf6687b7b18a09f550d5 /app/views/projects/clusters/new.html.haml
parente2b195b2748c88e276163d44cdeff5b210f2522c (diff)
downloadgitlab-ce-d4fa672c20657a1c7d2fcfa25e9798e7ccdbf39d.tar.gz
Create Kubernetes cluster on GKE from k8s service
Diffstat (limited to 'app/views/projects/clusters/new.html.haml')
-rw-r--r--app/views/projects/clusters/new.html.haml17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/projects/clusters/new.html.haml b/app/views/projects/clusters/new.html.haml
new file mode 100644
index 00000000000..5e291d07835
--- /dev/null
+++ b/app/views/projects/clusters/new.html.haml
@@ -0,0 +1,17 @@
+Create a new cluster
+
+%br
+
+- if @authorize_url
+ I have not authenticated yet. I can authenticate from
+ = link_to("authenticate from here", @authorize_url)
+- else
+ I have already authenticated.
+ %br
+ Avaiable GCP project lists
+ %br
+ Avaiable zones
+ %br
+ = link_to "Create on Google Container Engine", namespace_project_clusters_path(@project.namespace, @project, param1: 'value1', param2: 'value2'), method: :post
+ = link_to "Use existing kubernets cluster", namespace_project_clusters_path(@project.namespace, @project, param1: 'value1', param2: 'value2'), method: :post
+