Matija Čupić
b22959cc04
Remove redundant GoogleApi::CloudPlatform::Client methods
...
The methods removed are #projects_list #get_project_billing_info
as well as #project_zones_list and #project_zone_machine_types_list
2018-05-11 18:45:45 +02:00
Matija Čupić
45b3bcc396
Add zones_list and machine_types_list to Google Cloud API client
2018-03-16 17:50:48 +01:00
Rubén Dávila
afe2c15e6b
Fix provider server URL used when listing repos to import
...
Also use Gitlab::Auth::OAuth::Provider.config_for to access OmniAuth config
2018-03-12 16:01:43 -05:00
Mayra Cabrera
14978ddc53
Modify cluster creation API method to enable legacy_apac as default
...
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
2018-02-22 15:27:56 -06:00
Matija Čupić
1f0a4fe6a4
Add missing user agent header to GCP client
2018-01-11 02:29:36 +01:00
Kamil Trzciński
cf6258af41
Fix billing checking
2018-01-10 15:23:22 +01:00
Matija Čupić
c98238f18a
Inluce projects namespace when checking billing
2017-12-16 06:07:28 +01:00
Matija Čupić
957bedb1c3
Add Google Cloud client project billing info
2017-12-16 00:00:52 +01:00
Matija Čupić
596ea9e368
Add Google Cloud client project list
2017-12-15 19:39:15 +01:00
Matija Čupić
bb80d439f4
Refactor GCP Client#user_agent_header to use #tap
2017-12-04 13:43:45 +01:00
Matija Čupić
68b43f4d9c
Test usage of custom user agent in GCP Client
2017-12-04 02:19:02 +01:00
Matija Čupić
04c6d10261
Use RequestOptions in GCP Client user_agent_header
2017-12-04 01:59:29 +01:00
Matija Čupić
50c8bd6350
Generate user agent header for GCP Client
2017-12-04 00:53:04 +01:00
Shinya Maeda
253bf69dda
specs for feature
2017-11-01 03:59:40 +09:00
Kamil Trzcinski
f9d490dbb9
Improve redirect uri state and fix all remaining tests
2017-10-06 16:14:14 +02:00
Shinya Maeda
f293288589
Security fix: redirection in google_api/authorizations_controller
2017-10-06 21:28:40 +09:00
Shinya Maeda
638c616296
Use utc for time comparision
2017-10-06 18:23:53 +09:00
Shinya Maeda
31c8925882
spec/lib/google_api/auth_spec. spec/lib/google_api/cloud_platform/client_spec
2017-10-05 18:17:21 +09:00
Shinya Maeda
20abcbffae
Add google_api to TOP_LEVEL_ROUTES. Import/Export model failure fix. Fix static analysys.
2017-10-04 16:04:45 +09:00
Shinya Maeda
6b7889f750
Implement Policy. Use show instead of edit. Chnage db column. fix comments. dry up workers
2017-10-03 23:44:06 +09:00
Shinya Maeda
34e66c427d
PollingInterval, rename to gke_clusters, has_one :cluster
2017-10-02 21:58:50 +09:00
Shinya Maeda
2cb1d617d9
Use expires_in for access_token validation
2017-10-02 17:13:46 +09:00
Shinya Maeda
2d1a77b8a3
Revert KubernetesService. Introduce FetchKubernetesTokenService.
2017-10-01 17:48:21 +09:00
Shinya Maeda
e499c1c39d
Replace reactive_cache by multipel sidekiq workers
2017-10-01 00:54:22 +09:00
Shinya Maeda
bda1b0a878
Databse foreing key, index, encrypt password. Use short path. Improve error handling. Polish.
2017-09-29 00:08:11 +09:00
Shinya Maeda
fabc359e77
Multithreading cluster creation is done with `reactive_cache`
2017-09-28 18:11:17 +09:00
Shinya Maeda
e9d05a2cdc
Add login root. Remove ceration type.
2017-09-27 21:01:08 +09:00
Shinya Maeda
9900933432
Remove sensitive literal data
2017-09-27 17:04:25 +09:00
Shinya Maeda
e7a8a05659
Improve ClustersController
2017-09-26 23:05:12 +09:00
Shinya Maeda
55ac72e56e
Create cluster
2017-09-26 20:34:49 +09:00
Shinya Maeda
d65cd0a680
Tie KubernetesService
2017-09-26 17:46:09 +09:00
Shinya Maeda
bdc618c289
ok
2017-09-26 02:11:26 +09:00
Shinya Maeda
d4fa672c20
Create Kubernetes cluster on GKE from k8s service
2017-09-25 16:10:25 +09:00