Commit graph

9 commits

Author SHA1 Message Date
Tiger Watson
36a01a88ce Use separate Kubernetes namespaces per environment
Kubernetes deployments on new clusters will now have
a separate namespace per project environment, instead
of sharing a single namespace for the project.

Behaviour of existing clusters is unchanged.

All new functionality is controlled by the
:kubernetes_namespace_per_environment feature flag,
which is safe to enable/disable at any time.
2019-08-07 04:40:29 +00:00
Thong Kuah
f0391c2517 Add frozen_string_literal to spec/support
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-25 17:33:34 +12:00
Thong Kuah
305ab0405a Revert "Merge branch 'refactor-cluster-create-service-spec' into 'master'"
This reverts merge request !22407
2018-10-22 20:12:26 +00:00
Thong Kuah
c3c22cb210 Move shared examples into the only file where used
This will make it easier to perform in place adjustments, etc for future
MRs involving group clusters.
2018-10-17 10:43:14 +13:00
Thong Kuah
56f309dd53 Remove rbac_clusters feature flag
Now that Auto DevOps can run in a RBAC enabled cluster from
https://gitlab.com/gitlab-org/gitlab-ce/issues/51942, we can now remove
the FF.

As the flag only governed if UI elements would appear or not when
creating/adding existing clusters; the effect of removing the FF would
be that the checkbox to choose to enable RBAC clusters will now always
appear.

Remove FF stubs from specs

Improve spec context names
2018-10-04 14:31:05 +13:00
Thong Kuah
3c5c6c2c2e Address BE review - re-arrange some specs 2018-09-14 16:26:51 +12:00
Thong Kuah
292d2208e0 Add FE option for users to choose to create a fully RBAC-enabled cluster or not.
This is similar to the option in the Add Existing cluster form
2018-09-14 16:26:51 +12:00
Thong Kuah
c9af170d9a Create a GKE cluster with legacy_abac disabled when the :rbac_clusters feature flag is enabled
Explicitly persist the legacy_abac value of the cluster_provider_gcp so that we can disable abac if the `:rbac_clusters` feature flag is enabled
2018-09-14 16:26:51 +12:00
Matija Čupić
f96552c7c7
Extract shared components from Clusters::CreateService spec 2018-05-13 14:17:34 +02:00