| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch '34758-refactor-cluster-services' into 'master' | Dmitriy Zaporozhets | 2018-10-15 | 2 | -19/+23 |
| |\ | | | | | | | | | Refactor Cluster services to enable groups or projects See merge request gitlab-org/gitlab-ce!22181 | ||||
| | * | Pass in project as kwarg for CreateService | Thong Kuah | 2018-10-15 | 2 | -19/+23 |
| | | | | | | | | | | | | | | | | | | | This enables us to have other options in the future such as passing in `group:`. Also, remove project arg from UpdateService, as un-used. This will help group cluster controller to re-use this services. | ||||
| * | | Remove un-used inheritance from service | Thong Kuah | 2018-10-15 | 2 | -2/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Remove the inheritance from ::BaseService which is causing us to inherit the initializer that has project as the first arg, as we will not have access to project with forthcoming group clusters. Also call install service from create service - 1 less thing to re-use Extract TestRequest code into a spec helper. Given that we need different behaviour for Rails 5.0 (and again in Rails 5.1!), it's handy to have that branching behaviour in one place | ||||
| * | | Move non-controller code into dedicated service | Thong Kuah | 2018-10-15 | 1 | -0/+66 |
| |/ | | | | | | | | | | This should help with code re-use when we create applications for group level cluster next. Change `find_or_initialize_by` to explicitly find or build the right association based on the application name. The benefit here is that we use the associations on @cluster rather than querying from the other side of the association. | ||||
| * | Do not persist errors from Kubernetes calls | Mayra Cabrera | 2018-09-17 | 2 | -7/+7 |
| | | |||||
| * | Kubernetes secret are namespaced, so must always pass a namespace arg. | Thong Kuah | 2018-09-14 | 3 | -6/+7 |
| | | | | | In our case it's 'default'. | ||||
| * | Add FE option for users to choose to create a fully RBAC-enabled cluster or not. | Thong Kuah | 2018-09-14 | 1 | -5/+0 |
| | | | | | This is similar to the option in the Add Existing cluster form | ||||
| * | Always create `gitlab` service account and service account token regardless ↵ | Thong Kuah | 2018-09-14 | 4 | -32/+31 |
| | | | | | | | | | | | | of ABAC/RBAC This also solves the async nature of the automatic creation of default service tokens for service accounts. It also makes explicit which service account token we always use. create cluster role binding only if the provider has legacy_abac disabled. | ||||
| * | Drive creation of a rbac platform_kubernetes off provider#legacy_abac so ↵ | Thong Kuah | 2018-09-14 | 1 | -5/+5 |
| | | | | | that there is one single source of truth. | ||||
| * | ABAC: fetch default service account token; RBAC: fetch gitlab service acount ↵ | Thong Kuah | 2018-09-14 | 2 | -4/+7 |
| | | | | | | | token Keeps existing behaviour for ABAC cluster | ||||
| * | Create a GKE cluster with legacy_abac disabled when the `:rbac_clusters` ↵ | Thong Kuah | 2018-09-14 | 2 | -1/+6 |
| | | | | | | | 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 | ||||
| * | Teach GoogleApi::CloudPlatform::Client#projects_zones_clusters_create about ↵ | Thong Kuah | 2018-09-14 | 1 | -1/+3 |
| | | | | | | | | | | legacy_abac argument Fix spec warning: removing `initialize' may cause serious problems Actually verify that `service.create_cluster` is called with expected request_body and other args | ||||
| * | Only create new service account with cluster-admin clusterrolebinding for ↵ | Thong Kuah | 2018-09-14 | 1 | -2/+8 |
| | | | | | | | when we have the rbac cluster FF enabled. This syncs up with `authorization_type`. | ||||
| * | Set RBAC support behind a feature flag. | Thong Kuah | 2018-09-14 | 1 | -2/+1 |
| | | | | | This is the same as with adding an existing cluster | ||||
| * | Refactor to DRY out building of kube_client into originator service | Thong Kuah | 2018-09-14 | 3 | -82/+42 |
| | | |||||
| * | When provisioning a new cluster, create gitlab service account so that ↵ | Thong Kuah | 2018-09-14 | 4 | -1/+99 |
| | | | | | | | | GitLab can perform operations in a RBAC-enabled cluster. Correspondingly, use the token of the gitlab service account, vs the default service account token which will have no privs. | ||||
| * | Move FetchKubernetesTokenService to under the Clusters::Gcp::Kubernetes ↵ | Thong Kuah | 2018-09-14 | 2 | -1/+75 |
| | | | | | | | | namespace This is in preparation to share some common code with another service which will also need a kubeclient utilizing master username and password | ||||
| * | Merge branch 'timeouted' into 'master' | Grzegorz Bizon | 2018-08-01 | 1 | -1/+1 |
| |\ | | | | | | | | | correct error message on helm tiller installation timeout See merge request gitlab-org/gitlab-ce!20683 | ||||
| | * | correct error message | Diana Stanley | 2018-07-17 | 1 | -1/+1 |
| | | | |||||
| * | | Backports relevant changes made in ↵ | Tiago Botelho | 2018-07-25 | 1 | -3/+3 |
| |/ | | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5163 to CE | ||||
| * | Enable frozen string in apps/services/**/*.rbrepo-forks/gitlab-ce-frozen-string-enable-apps-services-inner | gfyoung | 2018-07-16 | 11 | -0/+22 |
| | | | | | | | For directories application_settings --> labels. Partially addresses #47424. | ||||
| * | Add support for Jupyter in GitLab via Kubernetes | Dmitriy Zaporozhets | 2018-05-25 | 1 | -2/+2 |
| | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
| * | Refactor code around scheduling cluster installationsdz-refactor-cluster-apps-schedule | Dmitriy Zaporozhets | 2018-05-24 | 1 | -14/+3 |
| | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
| * | Resolve "Make a Rubocop that forbids returning from a block" | 🙈 jacopo beschi 🙉 | 2018-04-18 | 1 | -1/+1 |
| | | |||||
| * | Replace 'GKE' with 'Google Kubernetes Engine' | Taurie Davis | 2018-04-17 | 1 | -1/+1 |
| | | |||||
| * | Replace KubeException with Kubeclient::HttpError (kubeclient 3.0) | Pirate Praveen | 2018-03-15 | 2 | -2/+2 |
| | | |||||
| * | Increase lease timeout for CheckIngressIpAddressService to reduce polling ↵ | Dylan Griffith | 2018-02-25 | 1 | -1/+1 |
| | | | | | frequency (#42643) | ||||
| * | Merge branch 'master' into 42643-persist-external-ip-of-ingress-controller-gke | Dylan Griffith | 2018-02-23 | 1 | -2/+2 |
| |\ | |||||
| | * | Modify cluster creation API method to enable legacy_apac as default | Mayra Cabrera | 2018-02-22 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | GKE 1.8 has RBAC on by default, since GKE has bumped the default version to 1.8.7 RBAC is now on, and we don't support that out of the box. This was also avoiding cluster applications (tiller, prometheus, etc), to be installed. Closes #41619 | ||||
| * | | Simplify retrying for ClusterWaitForIngressIpAddressWorker and style changes | Dylan Griffith | 2018-02-23 | 1 | -16/+11 |
| | | | | | | | | | (#42643) | ||||
| * | | Refactor ingress IP address waiting code (#42643) | Dylan Griffith | 2018-02-20 | 2 | -15/+9 |
| | | | |||||
| * | | Ensure CheckIngressIpAddressService obtains exclusive lease per ingress ↵ | Dylan Griffith | 2018-02-15 | 1 | -0/+9 |
| | | | | | | | | | controller (#42643) | ||||
| * | | Persist external IP of ingress controller created for GKE (#42643) | Dylan Griffith | 2018-02-15 | 2 | -0/+38 |
| |/ | |||||
| * | Replace "cluster" with "Kubernetes cluster"winh-kubernetes-clusters | Winnie Hellmann | 2018-02-06 | 2 | -2/+2 |
| | | |||||
| * | Extend Cluster Applications to allow installation of Prometheus | Mayra Cabrera | 2017-12-22 | 1 | -1/+1 |
| | | |||||
| * | Replace Exception with ArgumentError | Matija Čupić | 2017-12-05 | 1 | -1/+1 |
| | | |||||
| * | Remove redundant return in Clusters::CreateService | Matija Čupić | 2017-12-05 | 1 | -1/+1 |
| | | |||||
| * | Merge branch '35616-move-k8-to-cluster-page' into ↵ | Kamil Trzcinski | 2017-12-05 | 1 | -1/+1 |
| |\ | | | | | | | cluster-page-with-list-clusters | ||||
| | * | Optimize Clusters::CreateService#execute | Shinya Maeda | 2017-12-04 | 1 | -1/+1 |
| | | | |||||
| * | | Raise error when trying to create second cluster | Matija Čupić | 2017-12-03 | 1 | -1/+1 |
| | | | |||||
| * | | Simplify Clusters::CreateService cluster check | Matija Čupić | 2017-11-24 | 1 | -5/+1 |
| | | | |||||
| * | | Limit projects to just one cluster | Matija Čupić | 2017-11-18 | 1 | -0/+10 |
| |/ | |||||
| * | Add Helm InstallCommand | Alessio Caiazza | 2017-11-07 | 3 | -4/+8 |
| | | |||||
| * | Remove Clusters::Applications::FinalizeInstallationService | Alessio Caiazza | 2017-11-07 | 2 | -18/+23 |
| | | |||||
| * | Add Clusters::Applications services tests | Alessio Caiazza | 2017-11-06 | 4 | -31/+10 |
| | | |||||
| * | Add Clusters::Appplications::CheckInstallationProgressService tests | Alessio Caiazza | 2017-11-06 | 1 | -2/+2 |
| | | |||||
| * | Fix typos | Alessio Caiazza | 2017-11-03 | 1 | -1/+1 |
| | | |||||
| * | Schedule k8s application installation with a service | Alessio Caiazza | 2017-11-03 | 1 | -0/+27 |
| | | |||||
| * | Merge branch 'refactor-clusters' into 38464-k8s-apps | Alessio Caiazza | 2017-11-03 | 2 | -10/+5 |
| |\ | |||||
| | * | Fix out of sync with KubernetesService. Remove namespace pramas from ↵ | Shinya Maeda | 2017-11-02 | 2 | -10/+5 |
| | | | | | | | | | controller. Use time_with_zone in schema. Remove Gcp::Clusters from safe_model_attributes.ym | ||||
