summaryrefslogtreecommitdiff
path: root/spec/models/clusters
Commit message (Collapse)AuthorAgeFilesLines
* Enable the Layout/ExtraSpacing cop56392-enable-the-layout-extraspacing-copRémy Coutable2019-01-241-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add domain field into Clusters::ClusterMayra Cabrera2019-01-221-1/+26
| | | | | | | This is the 1st step for moving Auto DevOps domain into cluster settings, whether is project or group. Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/52363
* Update GitLab Runner Helm Chart to 0.1.45Tomasz Maczukin2019-01-221-3/+3
|
* Merge branch '55544-port-upgrade-command' into 'master'Kamil Trzciński2019-01-181-0/+97
|\ | | | | | | | | Port generic Helm upgrade functionality to CE See merge request gitlab-org/gitlab-ce!23924
| * Port generic upgrade functionality to CE55544-port-upgrade-commandThong Kuah2019-01-151-0/+97
| | | | | | | | | | | | | | | | | | | | | | | | Port from EE generic upgrade related functionality used to upgrade Helm applications Remove memoization which could be incorrect It looks like we are memoizing without regard to the method's argument so this could result in an incorrect upgrade_command Remove `const_get` indirection now we are no longer in EE
* | Merge branch 'bump-ingress-chart-112' into 'master'Dmitriy Zaporozhets2019-01-141-3/+3
|\ \ | | | | | | | | | | | | Bump nginx-ingress chart to 1.1.2 See merge request gitlab-org/gitlab-ce!24203
| * | Bump nginx-ingress chart to 1.1.2Thong Kuah2019-01-101-3/+3
| |/
* | Initial Serverless Functions detailed viewChris Baumbauer2019-01-101-1/+35
|/
* Require Knative to be installed only on an RBAC kubernetes clusterChris Baumbauer2019-01-041-0/+7
|
* Make RBAC enabled default for new clustersDylan Griffith2019-01-048-51/+33
| | | | | Many changes were also made to tests that expected this to default to false.
* Add Knative metrics to PrometheusChris Baumbauer2019-01-033-0/+33
|
* Update GitLab Runner Helm Chart to 0.1.43update-gitlab-runner-helm-chart-to-0-1-43Tomasz Maczukin2018-12-311-3/+3
|
* Merge branch '55716-update-cert-manager-chart-from-v0-5-0-to-v0-5-2' into ↵Sean McGivern2018-12-311-3/+3
|\ | | | | | | | | | | | | | | | | 'master' Update cert-manager chart from v0.5.0 to v0.5.2 Closes #55716 See merge request gitlab-org/gitlab-ce!24025
| * Update cert-manager chart from v0.5.0 to v0.5.2Takuya Noguchi2018-12-251-3/+3
| | | | | | | | Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
* | Merge branch '55551-nomethoderror-undefined-method-for-nil-nilclass' into ↵Kamil Trzciński2018-12-271-1/+2
|\ \ | |/ |/| | | | | | | | | | | | | 'master' Handle nil terminals in Clusters::Platforms::Kubernetes Closes #55551 See merge request gitlab-org/gitlab-ce!23925
| * Handle nil terminals in Clusters::Platforms::KubernetesRémy Coutable2018-12-191-1/+2
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Rename `ClusterPlatformConfigureWorker`George Tsiolis2018-12-211-2/+2
|/
* Upgrade Knative from 0.1.3 to 0.2.2Chris Baumbauer2018-12-111-3/+3
|
* Update gitlab runner helm chart to 0.1.39Tomasz Maczukin2018-12-071-3/+3
|
* Introduce Knative Serverless TabDylan Griffith2018-12-061-0/+42
|
* Eager load clusters to prevent N+1Thong Kuah2018-12-051-0/+16
| | | | | | This also means we need to apply the `current_scope` otherwise this method will return all clusters associated with the groups regardless of any scopes applied to this method
* Various improvements to hierarchy sortingThong Kuah2018-12-051-10/+22
| | | | | | | | | - Rename ordered_group_clusters_for_project -> ancestor_clusters_for_clusterable - Improve name of order option. It makes much more sense to have `hierarchy_order: :asc` and `hierarchy_order: :desc` - Allow ancestor_clusters_for_clusterable for group - Re-use code already present in Project
* Create k8s namespace for project in group clustersThong Kuah2018-12-051-0/+20
| | | | | | | | | | | | | | | | | | | | AFAIK the only relevant place is Projects::CreateService, this gets called when user creates a new project, forks a new project and does those things via the api. Also create k8s namespace for new group hierarchy when transferring project between groups Uses new Refresh service to create k8s namespaces - Ensure we use Cluster#cluster_project If a project has multiple clusters (EE), using Project#cluster_project is not guaranteed to return the cluster_project for this cluster. So switch to using Cluster#cluster_project - at this stage a cluster can only have 1 cluster_project. Also, remove rescue so that sidekiq can retry
* Teach Cluster about #all_projectsThong Kuah2018-12-051-0/+25
| | | | | For project level, it's the project directly associated. For group level, it's the projects under that group.
* Deploy to clusters for a project's groupsThong Kuah2018-12-051-0/+47
| | | | | | | | | | | | | | | | | | Look for matching clusters starting from the closest ancestor, then go up the ancestor tree. Then use Ruby to get clusters for each group in order. Not that efficient, considering we will doing up to `NUMBER_OF_ANCESTORS_ALLOWED` number of queries, but it's a finite number Explicitly order query by depth This allows us to control ordering explicitly and also to reverse the order which is useful to allow us to be consistent with Clusters::Cluster.on_environment (EE) which does reverse ordering. Puts querying group clusters behind Feature Flag. Just in case we have issues with performance, we can easily disable this
* Merge branch 'check-unique-values-of-pipeline-enum' into 'master'Kamil Trzciński2018-12-043-0/+6
|\ | | | | | | | | Check the uniqueness of the values of pipeline enum See merge request gitlab-org/gitlab-ce!23504
| * Fix coding offenceShinya Maeda2018-12-042-4/+4
| |
| * fix wordingShinya Maeda2018-12-033-3/+3
| |
| * Fix the coding styleShinya Maeda2018-12-033-5/+6
| |
| * Validate enum uniquenessShinya Maeda2018-12-033-0/+5
| |
* | Fallback to admin token for project clusters onlyThong Kuah2018-12-041-0/+30
|/ | | | | | | | | We do not want group level clusters to fall back to what was old behaviour for project level clusters. So instead we will not return any KUBE_TOKEN if we cannot find a suitable kubernetes_namespace for the project, in the group level cluster case. Add test cases to assert above
* Expose external_ip to knative cluster applicationChris Baumbauer2018-11-265-5/+52
|
* Merge branch 'certmanager-temp' into 'master'Kamil Trzciński2018-11-232-1/+81
|\ | | | | | | | | Deploy cert-manager to managed cluster for SSL certificates See merge request gitlab-org/gitlab-ce!23036
| * Fix Rubocop linter complaintsAmit Rathi2018-11-211-2/+2
| |
| * Cert manager model spec and email presence validationAmit Rathi2018-11-211-0/+79
| |
| * Fixing testsAmit Rathi2018-11-201-1/+2
| |
* | Update used version of Runner Helm Chart to 0.1.38Tomasz Maczukin2018-11-221-3/+3
|/
* Merge branch 'improve-variables-support' into 'master'Sean McGivern2018-11-191-4/+4
|\ | | | | | | | | Improve variables support See merge request gitlab-org/gitlab-ce!23077
| * Improve variables supportimprove-variables-supportKamil Trzciński2018-11-191-4/+4
| | | | | | | | | | | | This ensures that variables accept only string, alongside also improves kubernetes_namespace, improving validation and default value being set.
* | Merge branch '49726-upgrade-helm-to-2-11' into 'master'Kamil Trzciński2018-11-161-1/+1
|\ \ | |/ |/| | | | | | | | | Resolve "Upgrade Helm Tiller Version Used By GitLab Managed Apps" Closes #49726 See merge request gitlab-org/gitlab-ce!22693
| * Upgrade helm to 2.11.0 and upgrade on every installDylan Griffith2018-11-161-1/+1
| |
* | Fix deployment jobs using nil tokenThong Kuah2018-11-132-1/+55
|/
* Consolidate how we allow user defined namespaceThong Kuah2018-11-081-0/+22
| | | | | Use model method as single source of truth instead of splitting between presenter and Kubernetes model
* Only project clusters has Project Namespace fieldThong Kuah2018-11-081-0/+12
| | | | | Group clusters should not allow Project Namespace so don't show that field input too
* Fix style with clusters_store.js and remove workaround for namespace role issuetriggermesh/dgriffith/gitlab-ce-triggermesh-phase1-knativeChris Baumbauer2018-11-061-0/+4
|
* Refactor cluster application tests to centralize helm CA cert verificationChris Baumbauer2018-11-065-110/+5
|
* Fix issue with missing knative cluster role binding, and cleanup testsChris Baumbauer2018-11-051-20/+9
|
* Fix the way hostname is validated with the knative appChris Baumbauer2018-11-032-118/+7
|
* Resolve issues raised by KamilChris Baumbauer2018-11-032-10/+120
|
* Merge branch 'master' into triggermesh-phase1-knativeChris Baumbauer2018-11-034-58/+97
|\