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
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
2018-11-16Upgrade helm to 2.11.0 and upgrade on every installDylan Griffith
2018-11-15Merge branch '53626-update-config-map-on-install-retry' into 'master'Kamil Trzciński
Update config map if already present on install Closes #53626 See merge request gitlab-org/gitlab-ce!22969
2018-11-15Set appropriate RBAC flag for cluster applicationsAmit Rathi
2018-11-15Add knative client to kubeclient libraryChris Baumbauer
2018-11-15Update config map if already present on installThong Kuah
When an application install fails, and the user retries install, the configmap for the application will already exists. If so, we simply update instead of create.
2018-11-14Merge branch 'master' into certmanager-tempAmit Rathi
2018-11-13Use email on the accountAmit Rathi
2018-11-13Show HTTP response code for Kubernetes errorsThong Kuah
2018-11-13Remove logging from pod.rbAmit Rathi
2018-11-13Remove logging changesAmit Rathi
2018-11-13CleanupAmit Rathi
2018-11-13Updated loggingAmit Rathi
2018-11-12Merge branch 'master' into certmanager-tempAmit Rathi
2018-11-09Improve Debugging Capabilities For Helm Application InstallsDylan Griffith
2018-11-06Fix double-negationChris Baumbauer
2018-11-06Refactor preinstall/postinstall methods in the helm installerChris Baumbauer
2018-11-06Fix issue with missing knative cluster role binding, and cleanup testsChris Baumbauer
2018-11-03Resolve issues raised by KamilChris Baumbauer
2018-11-03Merge branch 'master' into triggermesh-phase1-knativeChris Baumbauer
2018-11-03Pushing WIP state for backupAmit Rathi
2018-11-02Use our own docker image for helm install podsDylan Griffith
This will reduce dependencies and failure points during installation. It will also reduce security risks from untrusted dependencies being able to effect all our users
2018-11-02Incorporates Kubernetes Namespace into Cluster's flowThong Kuah
2018-11-02Merge branch 'master' into triggermesh-phase1-knativeChris Baumbauer
2018-10-29Revert Helm version bumpChris Baumbauer
2018-10-25Merge branch 'refactor_gitlab_kube_client' into 'master'Kamil Trzciński
Refactor Gitlab::KubeClient Closes #52131 See merge request gitlab-org/gitlab-ce!22073
2018-10-25Knative supportChris Baumbauer
2018-10-25Update helm version 1.7.2 -> 2.11.0Chris Baumbauer
2018-10-23Store version within SUPPORTED_API_GROUPS hashThong Kuah
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.
2018-10-23DRY up *_clients methodsThong Kuah
Build using `define_method` directly from the constant, saves us writing api_groups strings twice.
2018-10-23Split hashed_clients into one per api_groupThong Kuah
Essentially make #build_kubeclient do less. Should be much clearer now
2018-10-23Remove api_groups from KubeClient constructorThong Kuah
We should have access to #core_client, #rbac_client, and #extensions_client without having to pass in an awkward array. Also change api_version to default_api_version, which allows us to use a different version for an individual client. Special case for apis/extensions which only go up to v1beta1 Makes #hashed_client private Removes the #clients and #discover! methods which are un-used
2018-10-23Add RoleBinding methodsMayra Cabrera
Includes RoleBinding methods to Kubeclient and introduce a new lib class to generate RoleBinding resources. This MR is part of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22011
2018-10-01Port Helm::Api EE extensions to CEThong Kuah
We will need these utility level code in the future to help upgrade all helm applications.
2018-09-27Port UpgradeCommand to CEThong Kuah
This is a utility class that we will need in the future to update and upgrade our managed helm applications, which we do plan to do in CE.
2018-09-14Always create `gitlab` service account and service account token regardless ↵Thong Kuah
of ABAC/RBAC This also solves the async nature of the automatic creation of default service tokens for service accounts. It also makes explicit which service account token we always use. create cluster role binding only if the provider has legacy_abac disabled.
2018-09-14Teach GitLab how to create Secret of type ServiceAccountTokenThong Kuah
Add create_secret to KubeClient
2018-09-06Enable Kubernetes RBAC for GitLab Managed Apps for existing clustersThong Kuah