| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|
|
|
|
|
|
| |
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
|
| |
|
|\
| |
| |
| |
| | |
Port generic Helm upgrade functionality to CE
See merge request gitlab-org/gitlab-ce!23924
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | |
| | | |
Bump nginx-ingress chart to 1.1.2
See merge request gitlab-org/gitlab-ce!24203
|
| |/ |
|
|/ |
|
| |
|
|
|
|
|
| |
Many changes were also made to tests that expected this to default to
false.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
'master'
Update cert-manager chart from v0.5.0 to v0.5.2
Closes #55716
See merge request gitlab-org/gitlab-ce!24025
|
| |
| |
| |
| | |
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| | |
'master'
Handle nil terminals in Clusters::Platforms::Kubernetes
Closes #55551
See merge request gitlab-org/gitlab-ce!23925
|
| |
| |
| |
| | |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
For project level, it's the project directly associated. For group
level, it's the projects under that group.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| | |
Check the uniqueness of the values of pipeline enum
See merge request gitlab-org/gitlab-ce!23504
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
| |
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
|
| |
|
|\
| |
| |
| |
| | |
Deploy cert-manager to managed cluster for SSL certificates
See merge request gitlab-org/gitlab-ce!23036
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
Improve variables support
See merge request gitlab-org/gitlab-ce!23077
|
| |
| |
| |
| |
| |
| | |
This ensures that variables accept only string,
alongside also improves kubernetes_namespace,
improving validation and default value being set.
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Resolve "Upgrade Helm Tiller Version Used By GitLab Managed Apps"
Closes #49726
See merge request gitlab-org/gitlab-ce!22693
|
| | |
|
|/ |
|
|
|
|
|
| |
Use model method as single source of truth instead of splitting between
presenter and Kubernetes model
|
|
|
|
|
| |
Group clusters should not allow Project Namespace so don't show that
field input too
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|