Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-03Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-21Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-14Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-01Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-01Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-22Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-15Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-11Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-06Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-24Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-04Avoid calling freeze on already frozen strings in lib/gitlabdineshpanda
2019-08-14Make use of Gitlab::KubernetesJoão Cunha
- refactor Knative and Prometheus
2019-08-12Bump Helm to 2.14.3 and kubectl to 1.11.10Thong Kuah
2019-08-07Use separate Kubernetes namespaces per environmentTiger Watson
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.
2019-08-05Merge branch 'georgekoltsov/55474-outbound-setting-system-hooks' into 'master'Rémy Coutable
Add outbound setting for system hooks See merge request gitlab-org/gitlab-ce!31177
2019-08-02Implement Helm ResetCommand for removing TillerDylan Griffith
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
2019-08-02Add outbound requests setting for system hooksGeorge Koltsov
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.
2019-07-31Allow knative do be uninstalled:João Cunha
- After uninstalling the knative helm chart it's necessary to also remove some leftover resources to allow the cluster to be clean and knative to be reinstalleable. - Adds knative uninstall disclaimer - Uninstall ksvc before uninstalling knative Make list of Knative and Ingres resources explicit - To avoid deleting unwanted resources we are listing exact which resources will be deleted rather than simply deleting any resource that contains istio or knative words.
2019-07-15GitLab Managed App ensure helm version uses tls optsDylan Griffith
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.
2019-07-11Give Knative serving permissions to service accountHordur Freyr Yngvason
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.
2019-06-04Fix connection to Tiller error while uninstallingThong Kuah
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.
2019-05-27Add changelog entryJacques Erasmus
Added a changelog entry for the feature
2019-04-30Teach Helm::Api about #uninstallThong Kuah
2019-04-16Implement commands to uninstall cluster applicationsThong Kuah
This is the backend part which just allows uninstalling Prometheus for now.
2019-04-10Add more info logging to cluster appsDylan Griffith
Log events so that it's easy to see when different requests are starting.
2019-04-05Revert "Merge branch 'bump_kubernetes_1_11_9' into 'master'"Mayra Cabrera
This reverts merge request !26991
2019-04-04Bump Helm to 2.13.1 and kubectl to 1.11.9Thong Kuah
2019-03-07Merge branch '56937-edit-knative-domain' into 'master'Grzegorz Bizon
Edit Knative domain after it has been deployed Closes #56937 See merge request gitlab-org/gitlab-ce!25386
2019-03-05Creates Clusterss::ApplciationsController update endpointJoão Cunha
- Creates new route - Creates new controller action - Creates call stack: Clusterss::ApplciationsController calls --> Clusters::Applications::UpdateService calls --> Clusters::Applications::ScheduleUpdateService calls --> ClusterUpdateAppWorker calls --> Clusters::Applications::PatchService --> ClusterWaitForAppInstallationWorker DRY req params Adds gcp_cluster:cluster_update_app queue Schedule_update_service is uneeded Extract common logic to a parent class (UpdateService will need it) Introduce new UpdateService Fix rescue class namespace Fix RuboCop offenses Adds BaseService for create and update services Remove request_handler code duplication Fixes update command Move update_command to ApplicationCore so all apps can use it Adds tests for Knative update_command Adds specs for PatchService Raise error if update receives an unistalled app Adds update_service spec Fix RuboCop offense Use subject in favor of go Adds update endpoint specs for project namespace Adds update endpoint specs for group namespace
2019-03-04Merge branch 'security-kubernetes-local-ssrf' into 'master'Yorick Peterse
Block local URLs for Kubernetes integration See merge request gitlab/gitlabhq!2901
2019-02-21Do not allow local urls in Kubernetes formThong Kuah
Use existing `public_url` validation to block various local urls. Note that this validation will allow local urls if the "Allow requests to the local network from hooks and services" admin setting is enabled. Block KubeClient from using local addresses It will also respect `allow_local_requests_from_hooks_and_services` so if that is enabled KubeClinet will allow local addresses
2019-02-19Bump helm and kubectl versionsThong Kuah
Bump the helm and kubectl used in our Kubernetes integration, used e.g. to install apps. Note I have only bumped to the latest patch of the v1.11 series for kubectl as GKE clusters are still on 1.10/1.11
2019-02-08Upgrade cluster applications, starting with runnerThong Kuah
2019-01-25Use http_max_redirects opt to replace monkeypatchThong Kuah
http_max_redirects was introduced in 4.2.2, so upgrade kubeclient. The monkey-patch was global so we will have to check that all instances of Kubeclient::Client are handled. Spec all methods of KubeClient This should provide better confidence that we are indeed disallowing redirection in all cases
2019-01-18Update Helm to 2.12.2 to address Helm client vulnerabilityTakuya Noguchi
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-12-04Modify service so that it can be re-runThong Kuah
If the service fails mid-point, then we should be able to re-run this service. So, detect presence of any previously created Kubernetes resource and update or create accordingly. Fix specs accordingly. In the case of finalize_creation_service_spec.rb, I decided to stub out the async worker rather than maintaining individual stubs for various kubeclient calls for that worker. Also add test cases for group clusters
2018-11-27Merge branch 'json-logging-for-k8s' into 'master'Stan Hu
Json logging for k8s Integration See merge request gitlab-org/gitlab-ce!23328
2018-11-27Use JSON logging for helm install servicesDylan Griffith
2018-11-27Don't remove failed install podsDylan Griffith
We want to keep failed install pods around so that it is easier to debug why a failure occured. With this change we also need to ensure that we remove a previous pod with the same name before installing so that re-install does not fail. Another change here is that we no longer need to catch errors from delete_pod! in CheckInstallationProgressService as we now catch the ResourceNotFoundError in Helm::Api. The catch statement in CheckInstallationProgressService was also probably too broad before and should have been narrowed down simply to ResourceNotFoundError.
2018-11-20Merge branch 'master' into certmanager-tempAmit Rathi
2018-11-19Updated schema.rb and remove extra char from install_commandAmit Rathi
2018-11-19Merge branch 'master' into certmanager-tempAmit Rathi
2018-11-19Remove application flagsAmit Rathi
2018-11-17Enable even more frozen string for lib/gitlabgfyoung
Enables frozen string for the following: * lib/gitlab/hook_data/**/*.rb * lib/gitlab/i18n/**/*.rb * lib/gitlab/import/**/*.rb * lib/gitlab/import_export/**/*.rb * lib/gitlab/kubernetes/**/*.rb * lib/gitlab/legacy_github_import/**/*.rb * lib/gitlab/manifest_import/**/*.rb * lib/gitlab/metrics/**/*.rb * lib/gitlab/middleware/**/*.rb Partially addresses gitlab-org/gitlab-ce#47424.
2018-11-16Merge branch '49726-upgrade-helm-to-2-11' into 'master'Kamil Trzciński
Resolve "Upgrade Helm Tiller Version Used By GitLab Managed Apps" Closes #49726 See merge request gitlab-org/gitlab-ce!22693
2018-11-16Remove unnecessary --tiller-namespaceDylan Griffith
2018-11-16Use helm version loop instead of sleep in ClientCommandDylan Griffith
2018-11-16Extract Helm::ClientCommand for shared commandsDylan Griffith