Commit Graph

108 Commits

Author SHA1 Message Date
GitLab Bot 07d811cd3c Add latest changes from gitlab-org/gitlab@master 2023-04-21 18:09:26 +00:00
GitLab Bot 2017bc90a6 Add latest changes from gitlab-org/gitlab@master 2023-04-19 12:15:59 +00:00
GitLab Bot 4747b1ebc4 Add latest changes from gitlab-org/gitlab@master 2023-03-31 18:17:06 +00:00
GitLab Bot 46f49bc8e6 Add latest changes from gitlab-org/gitlab@master 2023-03-31 00:12:17 +00:00
GitLab Bot 99f4b14cb0 Add latest changes from gitlab-org/gitlab@master 2023-02-17 15:09:22 +00:00
GitLab Bot 4f8983ade8 Add latest changes from gitlab-org/gitlab@master 2023-02-17 12:11:17 +00:00
GitLab Bot f8edcff7e9 Add latest changes from gitlab-org/gitlab@master 2022-12-22 03:09:39 +00:00
GitLab Bot 2571f43401 Add latest changes from gitlab-org/gitlab@master 2022-08-16 21:12:07 +00:00
GitLab Bot 026a5e9101 Add latest changes from gitlab-org/gitlab@master 2022-05-26 09:08:11 +00:00
GitLab Bot 3c86701bc8 Add latest changes from gitlab-org/gitlab@master 2022-05-05 12:08:03 +00:00
GitLab Bot 14184b159d Add latest changes from gitlab-org/gitlab@master 2022-03-07 15:22:51 +00:00
GitLab Bot 1123408ec8 Add latest changes from gitlab-org/gitlab@master 2022-02-14 15:13:32 +00:00
GitLab Bot 3235221bc4 Add latest changes from gitlab-org/gitlab@master 2022-01-28 00:14:06 +00:00
GitLab Bot 418a39f6c2 Add latest changes from gitlab-org/gitlab@master 2021-04-07 00:09:26 +00:00
GitLab Bot 1bdf79827c Add latest changes from gitlab-org/gitlab@master 2020-12-02 15:09:37 +00:00
GitLab Bot 5c2377d195 Add latest changes from gitlab-org/gitlab@master 2020-09-29 18:09:52 +00:00
GitLab Bot 8e35232810 Add latest changes from gitlab-org/gitlab@master 2020-09-02 15:10:54 +00:00
GitLab Bot ff430539d5 Add latest changes from gitlab-org/gitlab@master 2020-07-13 15:09:08 +00:00
GitLab Bot cceb99c072 Add latest changes from gitlab-org/gitlab@master 2020-07-07 06:09:06 +00:00
GitLab Bot 8b0ef13236 Add latest changes from gitlab-org/gitlab@master 2020-06-03 18:08:28 +00:00
GitLab Bot 4d5ee2b814 Add latest changes from gitlab-org/gitlab@master 2020-05-27 15:08:11 +00:00
GitLab Bot 3aeda4e614 Add latest changes from gitlab-org/gitlab@master 2020-04-30 21:09:47 +00:00
GitLab Bot f697dc5e76 Add latest changes from gitlab-org/gitlab@master 2020-04-14 18:09:54 +00:00
GitLab Bot abae8f34f3 Add latest changes from gitlab-org/gitlab@master 2020-03-31 21:08:05 +00:00
GitLab Bot 1fa79760ad Add latest changes from gitlab-org/gitlab@master 2020-03-10 12:08:16 +00:00
GitLab Bot db24ab2b72 Add latest changes from gitlab-org/gitlab@master 2020-01-28 12:08:44 +00:00
GitLab Bot 1caa60060b Add latest changes from gitlab-org/gitlab@master 2019-12-19 00:08:01 +00:00
GitLab Bot 2e3cbf7d89 Add latest changes from gitlab-org/gitlab@master 2019-12-12 00:07:43 +00:00
GitLab Bot bd8a202da6 Add latest changes from gitlab-org/gitlab@master 2019-11-27 00:06:23 +00:00
GitLab Bot 23d237110e Add latest changes from gitlab-org/gitlab@master 2019-11-26 09:08:36 +00:00
GitLab Bot 213ce78058 Add latest changes from gitlab-org/gitlab@master 2019-11-13 06:06:38 +00:00
GitLab Bot 1ef4b65f55 Add latest changes from gitlab-org/gitlab@master 2019-11-08 06:06:24 +00:00
GitLab Bot 587794b4b8 Add latest changes from gitlab-org/gitlab@master 2019-10-02 00:06:26 +00:00
Enrique Alcántara 90e3a4919f Create new feature flagged UI for cloud providers
- Create HAML UI select a cloud provider to create a cluster.
- Add query param to :new cluster view to display a specific cluster
provider form depending on the value of the provider query param.
- Update unit tests and e2e tests to reflect these changes
2019-09-09 20:27:51 +00:00
Tiger 74702f0e0e Enable project-level JIT resource creation
Previously this behaviour was only available to group
and instance-level clusters, as some project clusters
relied on Kubernetes credentials being passed through
to the runner instead of having their resources managed
by GitLab (which is not available when using JIT). These
clusters have been migrated to unmanaged, so resources
can be created on demand for the remaining managed clusters.
2019-06-18 12:43:52 +10:00
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
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
George Tsiolis ac5fe450ff Rename `ClusterPlatformConfigureWorker` 2018-12-21 13:17:13 +00:00
blackst0ne b44a2c801a Update specs to rails5 format
Updates specs to use new rails5 format.

The old format:
`get :show, { some: params }, { some: headers }`

The new format:
`get :show, params: { some: params }, headers: { some: headers }`
2018-12-19 10:04:31 +11:00
Thong Kuah 5a042ef2fb Only project clusters has Project Namespace field
Group clusters should not allow Project Namespace so don't show that
field input too
2018-11-08 23:28:30 +13:00
Thong Kuah 54e8ff0f21 Extend clusters_controller for group type clusters
- Add pages javascripts to intialize clusters for group pages

- Move specs asserting gcp specific validations from controller into
UpdateService spec

- Also teach Clusters::ApplicationController about groups
2018-11-08 23:14:06 +13:00
Thong Kuah 5ede567d71 Incorporates Kubernetes Namespace into Cluster's flow 2018-11-02 15:46:15 +00:00
Thong Kuah 1a1fdf8efe Resolve controller sharing concern
Use ClustersController as base while having Projects::ClustersController
to inform what `clusterable` is. Thanks @ayufan for the great suggestion
!

- View changes to work with new approach

- Fix javascript for new approach

- Fix feature specs for new approach

- Fix QA
2018-11-01 19:37:33 +13:00
Thong Kuah 5b3c096c9e Convert clusters to use a top-level controller
In preparation so that we can create both cluster attached to project
and cluster attached to group.

- Move ClustersController to top level

- Move Clusters::ApplicationsController to top-level too

- Creates a Clusters::BaseController to share common functions

- Do not rely on @project ivar. Anything could set the ivar.

- Fix Vue page components due to new data-page value

Because of the controller change we have gone from
`projects:clusters:new` to `clusters:new`, so we need to update the file
location of the page components. There is somewhere a function that will
convert data-page to a file location.

On that note, projects/clusters/gcp/new/, translate to
Projects::Clusters::Gcp#new doesn't exist so replace that with
clusters/create_gcp/ and clusters/create_user/
2018-11-01 18:38:36 +13:00
Thong Kuah 0d7bb4f687 Revert back to go but use arguments for some cases
It has been pointed out that `go` is used quite extensively so it's not
an unknown idiam here at GitLab. And we have arguments with `go` which
is a plus.
2018-10-16 21:50:44 +13:00
Thong Kuah c5bca03bf0 Use subject in controller spec
Swap out `go` method with subject which is the convention.

Re-organize 'PUT update' to remove un-necessary context nesting.

DRY up repeated blocks to `add_maintainer` and `sign_in`
2018-10-15 11:42:41 +13: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 6f2ad2b604 Enable Kubernetes RBAC for GitLab Managed Apps for existing clusters 2018-09-06 10:03:38 +00:00
Mark Chao a63bce1a4b Resolve "Rename the `Master` role to `Maintainer`" Backend 2018-07-11 14:36:08 +00:00
Dennis Tang ce0ce1cb19 consolidate back into one controller 2018-06-19 15:01:43 +00:00