Commit 5c89a2e5 authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents d9211e14 13fe5b0d
---
title: AutoDevops function ensure_namespace() now explicitly tests the namespace
merge_request: 29567
author: Jack Lei
type: fixed
......@@ -505,7 +505,7 @@ rollout 100%:
}
function ensure_namespace() {
kubectl describe namespace "$KUBE_NAMESPACE" || kubectl create namespace "$KUBE_NAMESPACE"
kubectl get namespace "$KUBE_NAMESPACE" || kubectl create namespace "$KUBE_NAMESPACE"
}
function check_kube_domain() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment