Commit graph

6 commits

Author SHA1 Message Date
Tiger
5aa9b710be Allow switching clusters between managed/unmanaged
Any resources created while the cluster was managed
will be untouched, allowing users to set/unset this
flag as they please.
2019-06-18 09:09:11 +10:00
Rémy Coutable
96137d554f
Fix Style/NegatedUnless offenses in HAML file
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-05-16 13:31:46 +02:00
Mayra Cabrera
89132bbdd6 Add gitlab-managed option to clusters form
When this option is enabled, GitLab will create namespaces and service
accounts as usual. When disabled, GitLab wont create any project
specific kubernetes resources

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56557
2019-05-03 01:05:53 +00:00
Enrique Alcantara
9580c93b82 Fix cluster details form validation 2019-04-03 15:23:04 -04:00
Mayra Cabrera
ab06d1eda2 Renames Cluster#managed? to provided_by_user?
This will allow to user the term managed? on
https://gitlab.com/gitlab-org/gitlab-ce/issues/56557. Managed? will be
used to distinct clusters that are automatically managed by GitLab
2019-03-29 18:23:18 +00:00
Mayra Cabrera
1aa0233acc Removes duplicated cluster show partials
gcp/show and user/show partial contain basically the same html elements
causing duplication.

The difference between the partials is that one of them has
html elements disabled if the cluster is managed. This MR aims to
remove that duplication by having just a single
show partial for both types
2019-01-28 15:00:01 -06:00