summaryrefslogtreecommitdiff
path: root/app/views/clusters/platforms/kubernetes/_form.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/clusters/platforms/kubernetes/_form.html.haml')
-rw-r--r--app/views/clusters/platforms/kubernetes/_form.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/clusters/platforms/kubernetes/_form.html.haml b/app/views/clusters/platforms/kubernetes/_form.html.haml
index 4a452b83112..6b7494b172a 100644
--- a/app/views/clusters/platforms/kubernetes/_form.html.haml
+++ b/app/views/clusters/platforms/kubernetes/_form.html.haml
@@ -54,5 +54,14 @@
= s_('ClusterIntegration|Enable this setting if using role-based access control (RBAC).')
= s_('ClusterIntegration|This option will allow you to install applications on RBAC clusters.')
+ .form-group
+ .form-check
+ // TODO - replace ':authorization_type'
+ = platform_field.check_box :authorization_type, { class: 'form-check-input', disabled: true }, 'managed', 'non-managed'
+ = platform_field.label :authorization_type, s_('ClusterIntegration|GitLab-managed cluster'), class: 'form-check-label label-bold'
+ .form-text.text-muted
+ = s_('ClusterIntegration|Allow GitLab to manage namespace and service accounts for this cluster.')
+ = link_to _('More information'), help_page_path('user/project/clusters/index.md', anchor: 'gitlab-managed-cluster'), target: '_blank'
+
.form-group
= field.submit s_('ClusterIntegration|Save changes'), class: 'btn btn-success'