summaryrefslogtreecommitdiff
path: root/app/models/clusters
Commit message (Collapse)AuthorAgeFilesLines
* Update used version of Runner Helm Chart to 0.1.34Tomasz Maczukin2018-10-191-1/+1
|
* Show available clusters when installed or updatedPeter Leitzen2018-10-164-4/+9
| | | | | Before this commit updating Prometheus (e.g. adding alerts) made it "updated" therefore not installed.
* Merge branch '49952-port-upgrade-command-to-ce' into 'master'Kamil Trzciński2018-10-021-0/+24
|\ | | | | | | | | Port UpgradeCommand to CE See merge request gitlab-org/gitlab-ce!21949
| * Port EE::Clusters::ApplicationStatus to CEThong Kuah2018-09-271-0/+24
| | | | | | | | | | Cluster applications in CE will need access to the same status values for updating
* | Add GitLab cluster id to jupyter configdz-expose-cluster-id-to-jupyterDmitriy Zaporozhets2018-09-181-0/+5
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Revert "Merge branch 'dz-add-project-id-to-jupyter' into 'master'"Dmitriy Zaporozhets2018-09-131-9/+0
| | | This reverts merge request !21341
* Merge branch 'dz-add-project-id-to-jupyter' into 'master'Dmitriy Zaporozhets2018-09-121-0/+9
|\ | | | | | | | | Add GitLab project id to jupyter config installed via cluster apps See merge request gitlab-org/gitlab-ce!21341
| * Add cluster project id to jupyter configDmitriy Zaporozhets2018-08-221-0/+9
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Enable Kubernetes RBAC for GitLab Managed Apps for existing clustersThong Kuah2018-09-067-16/+21
|/
* Resolve "Mutual SSL Auth For Helm TIller"Mayra Cabrera2018-08-076-9/+82
|
* Enable frozen string for app/models/**/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-models-moregfyoung2018-08-0312-0/+24
| | | | Partially addresses #47424.
* Lock helm charts to the VERSION already specified for each application.Thong Kuah2018-08-025-4/+30
| | | | | | | | | | | | | | | | | | | Fix up VERSION for each of the applications * There is no 0.0.1 helm version for jupyterhub. Use the latest version instead * `:nginx` is not a valid chart version. Lock the ingress application GitLab installs to the latest chart version. * Use the latest gitlab-runner chart to prevent GitLab installing older versions when users have been installing the lastest version Always install from the VERSION and not the database `version` column. This should fix cases like https://gitlab.com/gitlab-org/gitlab-ee/issues/6795 in the instances where an install command failed previously, which locked the version in the database to an older version. Also, ensure that the version column is updated to the version we are installing. Add specs to show how previously failed appplications will be handled when the helm installation is run again Add changelog entry
* Revert "Merge branch '48098-mutual-auth-cluster-applications' into 'master'"Mayra Cabrera2018-07-316-82/+9
| | | This reverts merge request !20801
* Minor refactoring of Helm and ApplicationDataDylan Griffith2018-07-302-30/+47
|
* Ensure CA + Tiller cert never expire and Helm client cert expires quicklyDylan Griffith2018-07-301-3/+3
|
* Get mutual SSL working with helm tillerDylan Griffith2018-07-302-4/+51
|
* Refactor Cluster Application classes to pass through a has of config filesDylan Griffith2018-07-286-9/+18
| | | | This is refactoring in the lead up to passing mutual TLS certs for helm applications. As such we expect all applications to need config files so we can remove the logic about which applications need and do not need this (ie `#config_map?`).
* Backports relevant changes made in ↵Tiago Botelho2018-07-251-0/+8
| | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5163 to CE
* Resolve "Unable to install Prometheus on Clusters: 'Error: Chart ↵Mayra Cabrera2018-06-201-1/+2
| | | | incompatible with Tiller v2.7.0'"
* Fix attr_encryption key settingsStan Hu2018-06-022-3/+3
| | | | | | | | | | | | | attr_encrypted does different things with `key` depending on what mode you are using: 1. In `:per_attribute_iv_and_salt` mode, it generates a hash with the salt: https://github.com/attr-encrypted/encryptor/blob/c3a62c4a9e74686dd95e0548f9dc2a361fdc95d1/lib/encryptor.rb#L77. There is no need to truncate the key to 32 bytes here. 2. In `:per_attribute_iv` mode, it sets the key directly to the password, so truncation to 32 bytes is necessary. Closes #47166
* Merge branch 'sh-bump-ruby-2.4' into 'master'Stan Hu2018-06-012-3/+3
|\ | | | | | | | | Upgrade to Ruby 2.4.4 See merge request gitlab-org/gitlab-ce!19055
| * Upgrade to Ruby 2.4.4sh-bump-ruby-2.4Stan Hu2018-05-292-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fixes that make this work: * A change in Ruby (https://github.com/ruby/ruby/commit/ce635262f53b760284d56bb1027baebaaec175d1) requires passing in the exact required length for OpenSSL keys and IVs. * Ensure the secrets.yml is generated before any prepended modules are loaded. This is done by renaming the `secret_token.rb` initializer to `01_secret_token.rb`, which is a bit ugly but involves the least impact on other files.
* | Merge branch '46010-add-more-validations-for-runners-and-runner-type' into ↵Kamil Trzciński2018-06-011-2/+3
|\ \ | | | | | | | | | | | | | | | | | | 'master' Improve validations for Ci::Runner#runner_type See merge request gitlab-org/gitlab-ce!18901
| * | Fix some failuresKamil Trzciński2018-05-311-2/+3
| |/
* | Rename clusters_applications_jupyters to uncountableDmitriy Zaporozhets2018-05-301-1/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add some tests for jupyter app AR modelDmitriy Zaporozhets2018-05-251-2/+10
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Don't allow jupyter install unless ingress external ip is assignedDmitriy Zaporozhets2018-05-252-0/+9
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add oauth reference to jupyter cluster appDmitriy Zaporozhets2018-05-251-3/+29
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add support for Jupyter in GitLab via KubernetesDmitriy Zaporozhets2018-05-252-4/+28
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add Applications::Jupyter class sceletonDmitriy Zaporozhets2018-05-252-1/+30
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Rescue Kubeclient::HttpError when generating prometheus_clientShinya Maeda2018-05-211-0/+5
|
* Set `runner_type` for cluster/applicationKamil Trzciński2018-05-091-1/+9
|
* Revert the addition of goldiloaderYorick Peterse2018-04-181-1/+1
| | | | | | | | | This reverts the addition of the "goldiloader" Gem and all use of it. While this Gem is very promising it's causing a variety of problems on GitLab.com due to it eager-loading too much data in places where we don't expect/can handle this. At least for the time being this means we have to go back to manually fixing N+1 query problems, but at least those should not cause a negative impact on availability.
* Use Goldiloader for handling N+1 queriesYorick Peterse2018-04-091-1/+1
| | | | | | | Goldiloader (https://github.com/salsify/goldiloader) can eager load associations automatically. This removes the need for adding "includes" calls in a variety of different places. This also comes with the added benefit of not having to eager load data if it's not used.
* Extract cluster installed query to scopeMatija Čupić2018-03-301-0/+2
|
* Extract installed cluster application scope to concernMatija Čupić2018-03-295-8/+2
|
* Merge branch 'master' into 44291-usage-ping-for-kubernetes-integrationMatija Čupić2018-03-291-0/+2
|\
| * Rearrange DeploymentPlatform methodsMayra Cabrera2018-03-221-0/+2
| | | | | | | | | | | | | | - Change find_cluster_platform_kubernetes to ignore environment argument - Fix broken specs CE Port of: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5047/
* | Add installed scope to cluster applicationsMatija Čupić2018-03-294-0/+8
| |
* | Add user_provided and gcp_provided cluster scopesMatija Čupić2018-03-291-0/+2
|/
* Merge branch 'master' into 'update-kubeclient'Grzegorz Bizon2018-03-171-12/+12
|\ | | | | | | Conflicts: Gemfile.lock
| * DRY remaining instances of predefined variablesGrzegorz Bizon2018-03-141-12/+12
| |
* | Replace KubeException with Kubeclient::HttpError (kubeclient 3.0)Pirate Praveen2018-03-151-1/+1
|/
* Merge remote-tracking branch 'upstream/master' into ↵5029-support-cluster-metrics-cePawel Chojnacki2018-03-067-12/+133
|\ | | | | | | | | | | | | 5029-support-cluster-metrics-ce # Conflicts: # spec/models/clusters/applications/prometheus_spec.rb
| * Resolve "Enable privileged mode for Runner installed on Kubernetes"Mayra Cabrera2018-03-061-2/+3
| |
| * Extend Cluster Applications to install GitLab Runner to Kubernetes clusterMayra Cabrera2018-03-016-13/+109
| |
| * Remove redundant code and increase delay for ↵Dylan Griffith2018-02-251-4/+3
| | | | | | | | ClusterWaitForIngressIpAddressWorker (#42643)
| * Simplify retrying for ClusterWaitForIngressIpAddressWorker and style changesDylan Griffith2018-02-232-4/+4
| | | | | | | | (#42643)
| * Schedule Ingress IP address fetch from K8s after clusters page load (#42643)Dylan Griffith2018-02-202-0/+13
| |
| * Refactor ingress IP address waiting code (#42643)Dylan Griffith2018-02-202-9/+10
| |