Commit 0b75ef09 authored by Jack Lei's avatar Jack Lei Committed by Thong Kuah

AutoDevops fix ensure_namespace() does not explicitly test namespace

parent 26586209
---
title: AutoDevops function ensure_namespace() now explicitly tests the namespace
merge_request: 29567
author: Jack Lei
type: fixed
...@@ -505,7 +505,7 @@ rollout 100%: ...@@ -505,7 +505,7 @@ rollout 100%:
} }
function ensure_namespace() { 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() { 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