summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorbikebilly <fabio@gitlab.com>2018-01-23 09:42:33 +0100
committerbikebilly <fabio@gitlab.com>2018-01-23 09:42:33 +0100
commit6e9412a0e77049a4c4987bbbc579628ecad89371 (patch)
tree8a2d59180950f21b9fd34c4306904f43d3fe22e3 /vendor
parentb472411efb238ae223f99ecda067fa22d25bf8bb (diff)
downloadgitlab-ce-6e9412a0e77049a4c4987bbbc579628ecad89371.tar.gz
Vendor 10.4 Auto DevOps templatevendor-10-4-auto-devops-template
Diffstat (limited to 'vendor')
-rw-r--r--vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml10
1 files changed, 0 insertions, 10 deletions
diff --git a/vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml b/vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
index 5ebad58e171..a7cd2bc972c 100644
--- a/vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
+++ b/vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
@@ -345,12 +345,6 @@ production:
replicas="$new_replicas"
fi
- if [[ "$CI_PROJECT_VISIBILITY" != "public" ]]; then
- secret_name='gitlab-registry'
- else
- secret_name=''
- fi
-
helm upgrade --install \
--wait \
--set service.enabled="$service_enabled" \
@@ -358,7 +352,6 @@ production:
--set image.repository="$CI_APPLICATION_REPOSITORY" \
--set image.tag="$CI_APPLICATION_TAG" \
--set image.pullPolicy=IfNotPresent \
- --set image.secrets[0].name="$secret_name" \
--set application.track="$track" \
--set application.database_url="$DATABASE_URL" \
--set service.url="$CI_ENVIRONMENT_URL" \
@@ -488,9 +481,6 @@ production:
function create_secret() {
echo "Create secret..."
- if [[ "$CI_PROJECT_VISIBILITY" == "public" ]]; then
- return
- fi
kubectl create secret -n "$KUBE_NAMESPACE" \
docker-registry gitlab-registry \