gitlab-ce/lib/gitlab/kubernetes
João Cunha f8234d9a08 Creates Clusterss::ApplciationsController update endpoint
- Creates new route
- Creates new controller action
- Creates call stack:
  Clusterss::ApplciationsController calls -->
  Clusters::Applications::UpdateService calls -->
  Clusters::Applications::ScheduleUpdateService calls -->
  ClusterUpdateAppWorker calls -->
  Clusters::Applications::PatchService -->
  ClusterWaitForAppInstallationWorker

DRY req params

Adds gcp_cluster:cluster_update_app queue

Schedule_update_service is uneeded

Extract common logic to a parent class (UpdateService will need it)

Introduce new UpdateService

Fix rescue class namespace

Fix RuboCop offenses

Adds BaseService for create and update services

Remove request_handler code duplication

Fixes update command

Move update_command to ApplicationCore so all apps can use it

Adds tests for Knative update_command

Adds specs for PatchService

Raise error if update receives an unistalled app

Adds update_service spec

Fix RuboCop offense

Use subject in favor of go

Adds update endpoint specs for project namespace

Adds update endpoint specs for group namespace
2019-03-05 08:32:51 +02:00
..
helm Creates Clusterss::ApplciationsController update endpoint 2019-03-05 08:32:51 +02:00
cluster_role_binding.rb Enable Kubernetes RBAC for GitLab Managed Apps for existing clusters 2018-09-06 10:03:38 +00:00
config_map.rb Enable even more frozen string for lib/gitlab 2018-11-16 17:41:14 -08:00
helm.rb Bump helm and kubectl versions 2019-02-20 09:54:07 +13:00
kube_client.rb Use http_max_redirects opt to replace monkeypatch 2019-01-25 16:48:37 +13:00
logger.rb Use JSON logging for helm install services 2018-11-27 15:23:02 +01:00
namespace.rb Enable even more frozen string for lib/gitlab 2018-11-16 17:41:14 -08:00
pod.rb Enable even more frozen string for lib/gitlab 2018-11-16 17:41:14 -08:00
role_binding.rb Incorporates Kubernetes Namespace into Cluster's flow 2018-11-02 15:46:15 +00:00
service_account.rb Enable Kubernetes RBAC for GitLab Managed Apps for existing clusters 2018-09-06 10:03:38 +00:00
service_account_token.rb Teach GitLab how to create Secret of type ServiceAccountToken 2018-09-14 16:26:51 +12:00