Commit 13fe5b0d authored by Thong Kuah's avatar Thong Kuah

Merge branch 'ensure_namespace' into 'master'

AutoDevops fix ensure_namespace() does not explicitly test namespace

Closes #50797

See merge request gitlab-org/gitlab-ce!29567
parents 26586209 0b75ef09
---
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