summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/kubernetes
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot2020-11-1914-125/+446
|
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-211-2/+30
|
* Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot2020-09-193-58/+104
|
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-2011-373/+331
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-2025-25/+93
|
* Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot2020-06-188-93/+252
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-2011-339/+499
|
* Add latest changes from gitlab-org/gitlab@12-10-stable-eeGitLab Bot2020-04-204-84/+52
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-241-0/+14
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-091-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-241-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-191-3/+5
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-091-0/+10
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-052-0/+56
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-231-9/+19
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-172-4/+21
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-241-0/+37
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-161-0/+218
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-132-44/+93
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-122-0/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-267-0/+14
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-211-0/+16
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-141-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-011-0/+33
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-011-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-221-27/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-152-9/+9
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-112-9/+9
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-061-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-242-0/+3
|
* Merge branch '66741-remove-spec-rails_helper-rb' into 'master'Grzegorz Bizon2019-09-032-2/+2
|\ | | | | | | | | | | | | Remove spec/rails_helper.rb Closes #66741 See merge request gitlab-org/gitlab-ce!32380
| * Replace rails_helper.rb with spec_helper.rb66741-remove-spec-rails_helper-rbAsh McKenzie2019-08-302-2/+2
| | | | | | | | | | rails_helper.rb's only logic was to require spec_helper.rb.
* | Override hostname when connecting via KubeclientThong Kuah2019-08-211-18/+35
|/ | | | | | | | | | Kubeclient uses rest-client. We hack into to access the net/http object so that we can patch to connect to the resolved IP + set hostname_override. Add specs for discord. The discord integration also uses rest-client, so since we patched rest-client, spec that the DNS rebinding protection works
* Make use of Gitlab::KubernetesJoão Cunha2019-08-141-0/+48
| | | | - refactor Knative and Prometheus
* Bump Helm to 2.14.3 and kubectl to 1.11.10bump_helm_kubectl_gitlabThong Kuah2019-08-131-1/+1
|
* Use separate Kubernetes namespaces per environmentTiger Watson2019-08-071-0/+85
| | | | | | | | | | | | Kubernetes deployments on new clusters will now have a separate namespace per project environment, instead of sharing a single namespace for the project. Behaviour of existing clusters is unchanged. All new functionality is controlled by the :kubernetes_namespace_per_environment feature flag, which is safe to enable/disable at any time.
* Merge branch 'georgekoltsov/55474-outbound-setting-system-hooks' into 'master'Rémy Coutable2019-08-051-1/+1
|\ | | | | | | | | Add outbound setting for system hooks See merge request gitlab-org/gitlab-ce!31177
| * Add outbound requests setting for system hooksGeorge Koltsov2019-08-021-1/+1
| | | | | | | | | | | | | | This MR adds new application setting to network section `allow_local_requests_from_system_hooks`. Prior to this change system hooks were allowed to do local network requests by default and we are adding an ability for admins to control it.
* | Implement Helm ResetCommand for removing TillerDylan Griffith2019-08-021-0/+65
|/ | | | | | | | | | | | | Also creates specs Only allow Helm to be uninstalled if it's the only app - Remove Tiller leftovers after reser command - Fixes specs and offenses Adds changelog file Fix reset_command specs
* GitLab Managed App ensure helm version uses tls opts63694-tls-opts-for-helm-waitDylan Griffith2019-07-152-11/+17
| | | | | | | | | The TLS opts were missing from helm version command which meant that it was just perpetually failing and hence wasting 30s of time waiting for a command to be successful that was never going to be successful. This never actually caused any errors because this loop will happily just fail 30 times without breaking the overall script but it was just a waste of installation time so now installing apps should be ~30s faster.
* Give Knative serving permissions to service accountHordur Freyr Yngvason2019-07-113-1/+36
| | | | | | | | GitLab uses a kubernetes service account to perform deployments. For serverless deployments to work as expected with externally created clusters with their own knative installations (e.g. via Cloud Run), this account requires additional permissions in the serving.knative.dev API group.
* Fix connection to Tiller error while uninstalling62713-fix-uninstalling-cluster-appsThong Kuah2019-06-051-0/+24
| | | | | | | | | | | Both the `install-<app>` and `uninstall-<app>` pods loads the `values-content-configuration-<app>` configmap into the pod (see `#volume_specification`). This configmap contains the cert necessary to connect to Tiller. The cert though is only valid for 30 minutes. So this fixes the bug where the configmap when uninstalling should be updated as well.
* Teach Helm::Api about #uninstallThong Kuah2019-04-291-0/+22
|
* Implement commands to uninstall cluster applicationshelm_uninstall_commandThong Kuah2019-04-161-0/+72
| | | | | This is the backend part which just allows uninstalling Prometheus for now.
* Add more info logging to cluster appsDylan Griffith2019-04-101-0/+27
| | | | | Log events so that it's easy to see when different requests are starting.
* Revert "Merge branch 'bump_kubernetes_1_11_9' into 'master'"Mayra Cabrera2019-04-051-1/+1
| | | | This reverts merge request !26991
* Merge branch 'bump_kubernetes_1_11_9' into 'master'Douwe Maan2019-04-051-1/+1
|\ | | | | | | | | Bump Helm to 2.13.1 and kubectl to 1.11.9 See merge request gitlab-org/gitlab-ce!26991
| * Bump Helm to 2.13.1 and kubectl to 1.11.9bump_kubernetes_1_11_9Thong Kuah2019-04-051-1/+1
| |
* | Autocorrect with RSpec/ExampleWording copThong Kuah2019-04-058-19/+19
|/ | | | | | | - rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only"
* Merge branch 'security-kubernetes-local-ssrf' into 'master'Yorick Peterse2019-03-041-0/+30
|\ | | | | | | | | Block local URLs for Kubernetes integration See merge request gitlab/gitlabhq!2901