Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove legacy Kubernetes #actual_namespace61935-remove-code-left-over-from-when-clusters-were-always-project-specific | Tiger | 2019-05-21 | 1 | -10/+8 |
| | | | | | | | | | | | | | | | | | | When Kubernetes clusters were originally built they could only exist at the project level, and so there was logic included that assumed there would only ever be a single Kubernetes namespace per cluster. We now support clusters at the group and instance level, which allows multiple namespaces. This change consolidates various project-specific fallbacks to generate namespaces, and hands all responsibility to the Clusters::KubernetesNamespace model. There is now no concept of a single namespace for a Clusters::Platforms::Kubernetes; to retrieve a namespace a project must now be supplied in all cases. This simplifies upcoming work to use a separate Kubernetes namespace per project environment (instead of a namespace per project). | ||||
* | Also define KubernetesService#namespace_for | Peter Leitzen | 2019-04-29 | 1 | -0/+4 |
| | |||||
* | Update dashboards to additionally use new environment selector | James Fargher | 2019-03-21 | 1 | -2/+2 |
| | | | | | Deploy boards now will check for app.gitlab.com/env and app.gitlab.com/app | ||||
* | Resolve "Mask the existing variables" | Matija Čupić | 2019-03-07 | 1 | -1/+1 |
| | |||||
* | Use OpenShift in docs and Web UI instead of Openshift | Takuya Noguchi | 2019-01-02 | 1 | -1/+1 |
| | | | | Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com> | ||||
* | Make KUBECONFIG nil if KUBE_TOKEN is nil | Dylan Griffith | 2018-11-30 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | Having an invalid KUBECONFIG without a token in it is not helpful. This only became possible recently now that we are creating a separate namespace and service account (and hence token) to send to the runners. This led to somewhat surprising results when troubleshooting https://gitlab.com/gitlab-org/gitlab-ce/issues/53879 as I found that the KUBECONFIG was still being passed but KUBE_TOKEN was not. These things really should have been linked. Furthermore now that we are also using the [presence of KUBECONFIG to decide whether or not to run build steps in Auto DevOps](https://gitlab.com/gitlab-org/gitlab-ce/blob/294d15be3e9497e7b67e1f9131ce9d5c0d68406c/lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml#L164) I think it makes even more sense to ensure that KUBECONFIG is a complete config if passed to a job. | ||||
* | Show HTTP response code for Kubernetes errors | Thong Kuah | 2018-11-13 | 1 | -3/+1 |
| | |||||
* | Incorporates Kubernetes Namespace into Cluster's flow | Thong Kuah | 2018-11-02 | 1 | -1/+6 |
| | |||||
* | Store version within SUPPORTED_API_GROUPS hashrefactor_gitlab_kube_client | Thong Kuah | 2018-10-23 | 1 | -2/+1 |
| | | | | | | This removes the ability to pass in a different version. We can instead create a new entry in the SUPPORTED_API_GROUPS hash for a different version if need be. | ||||
* | Update all usages of KubeClient | Thong Kuah | 2018-10-23 | 1 | -3/+2 |
| | | | | | Find and replace everywhere we pass in `api_groups` to KubeClient, as no longer needed | ||||
* | Enable Kubernetes RBAC for GitLab Managed Apps for existing clusters | Thong Kuah | 2018-09-06 | 1 | -17/+9 |
| | |||||
* | Enable frozen string in rest of app/models/**/*.rb | gfyoung | 2018-08-10 | 1 | -0/+2 |
| | | | | Partially addresses #47424. | ||||
* | Don't consider a new inactive KubernetesService invalid | Douwe Maan | 2018-07-05 | 1 | -1/+1 |
| | |||||
* | Add validation to webhook and service URLs to ensure they are not blocked ↵ | Francisco Javier López | 2018-06-01 | 1 | -1/+1 |
| | | | | because of SSRF | ||||
* | Merge branch 'master' into 'update-kubeclient' | Grzegorz Bizon | 2018-03-17 | 1 | -12/+12 |
|\ | | | | | | | Conflicts: Gemfile.lock | ||||
| * | DRY remaining instances of predefined variables | Grzegorz Bizon | 2018-03-14 | 1 | -8/+12 |
| | | |||||
| * | Extract variables collection item to a separate class | Grzegorz Bizon | 2018-03-12 | 1 | -3/+1 |
| | | |||||
| * | Make variables collection to runner mapping explicit | Grzegorz Bizon | 2018-03-07 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into backstage/gb/refactor-ci-cd-variables-collections | Grzegorz Bizon | 2018-03-07 | 1 | -3/+44 |
| |\ | | | | | | | | | | * master: (6164 commits) | ||||
| * | | Introduce CI/CD variables collection class | Grzegorz Bizon | 2017-09-22 | 1 | -11/+9 |
| | | | |||||
* | | | Replace KubeException with Kubeclient::HttpError (kubeclient 3.0) | Pirate Praveen | 2018-03-15 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Replace "cluster" with "Kubernetes cluster"winh-kubernetes-clusters | Winnie Hellmann | 2018-02-06 | 1 | -5/+6 |
| | | |||||
* | | use Gitlab::UserSettings directly as a singleton instead of ↵ | Mario de la Ossa | 2018-02-02 | 1 | -2/+1 |
| | | | | | | | | including/extending it | ||||
* | | 41054-Disallow creation of new Kubernetes integrations | Mayra Cabrera | 2018-01-04 | 1 | -0/+28 |
| | | |||||
* | | Check diff between KubernetesService and Platforms::Kubernetes. Synchronize ↵ | Shinya Maeda | 2017-11-28 | 1 | -0/+5 |
| | | | | | | | | again. | ||||
* | | Adds Rubocop rule for line break after guard clause | Jacopo | 2017-11-16 | 1 | -0/+1 |
| | | | | | | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses. | ||||
* | | Improve backend structure of data | Kamil Trzcinski | 2017-11-02 | 1 | -4/+2 |
| | | |||||
* | | Merge branch 'refactor-clusters' into 38464-k8s-apps | Kamil Trzcinski | 2017-11-02 | 1 | -1/+4 |
|\ \ | |||||
| * | | Add KubernetesService#default_namespace testsac-k8s-namespace-validator | Alessio Caiazza | 2017-10-26 | 1 | -9/+2 |
| | | | |||||
| * | | namespace should be lowercased in kubernetes. This is also true for the ↵ | Mircea Danila Dumitrescu | 2017-10-04 | 1 | -1/+11 |
| |/ | | | | | | | scenario where the namespace is generated from the project group-name. | ||||
* | | Install k8s application with helm running inside the cluster | Alessio Caiazza | 2017-11-02 | 1 | -0/+6 |
|/ | |||||
* | Enfouce namespace for Kubernetes to lowercase | Shinya Maeda | 2017-08-22 | 1 | -0/+6 |
| | |||||
* | Resolve "Clarify k8s service keys" | Dimitrie Hoekstra | 2017-07-19 | 1 | -10/+10 |
| | |||||
* | Rename KUBECONFIG_FILE to KUBECONFIG | Lin Jen-Shin | 2017-07-06 | 1 | -1/+1 |
| | |||||
* | Changelog entry, doc, and only pass KUBECONFIG_FILE | Lin Jen-Shin | 2017-06-16 | 1 | -2/+1 |
| | |||||
* | Generate KUBECONFIG in KubernetesService#predefined_variables | Lin Jen-Shin | 2017-06-16 | 1 | -1/+13 |
| | |||||
* | Backport EE changes to the Kubernetes service | Nick Thomas | 2017-06-14 | 1 | -19/+18 |
| | |||||
* | Fix terminals support for Kubernetes service | Kamil Trzcinski | 2017-05-25 | 1 | -12/+12 |
| | | | | It was broken, because we introduced a default namespace, which was not used by terminal methods. | ||||
* | Enable the Style/TrailingCommaInLiteral cop | Rémy Coutable | 2017-05-10 | 1 | -1/+1 |
| | | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Don't autofill kubernetes namespace | Z.J. van de Weg | 2017-04-04 | 1 | -13/+30 |
| | |||||
* | Make a default namespace of Kubernetes service to contain project IDdefault-kubernetes-namespace | Kamil Trzcinski | 2017-03-06 | 1 | -1/+1 |
| | |||||
* | Add KUBE_CA_PEM_FILE, deprecate KUBE_CA_PEM | Nick Thomas | 2017-03-03 | 1 | -1/+6 |
| | |||||
* | Revert "Prefer leading style for Style/DotPosition" | Douwe Maan | 2017-02-23 | 1 | -3/+3 |
| | | | | This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b. | ||||
* | Enable Style/MultilineHashBraceLayout | Douwe Maan | 2017-02-23 | 1 | -8/+4 |
| | |||||
* | Prefer leading style for Style/DotPosition | Douwe Maan | 2017-02-23 | 1 | -3/+3 |
| | |||||
* | Enable Style/SpaceInsideBrackets | Douwe Maan | 2017-02-23 | 1 | -2/+2 |
| | |||||
* | Introduce maximum session time for terminal websocket connectionterminal-max-session-time | Adam Niedzielski | 2017-02-06 | 1 | -1/+10 |
| | | | | | Store the value in application settings. Expose the value to Workhorse. | ||||
* | adds test suite22974-trigger-service-events-through-api | Tiago Botelho | 2017-01-22 | 1 | -8/+0 |
| | |||||
* | adds events to services api deserialization | Tiago Botelho | 2017-01-22 | 1 | -1/+9 |
| | |||||
* | Add terminals to the Kubernetes deployment service | Nick Thomas | 2016-12-19 | 1 | -11/+56 |
| |