kubectl manifest are not applied even true if confition

前端 未结 0 1050
孤独总比滥情好
孤独总比滥情好 2021-02-14 13:40

I have shell script as like below;

ns_exists=$(kubectl get ns | grep ${consider_namespace} || true )
if [ -z "$ns_exists" ]
then
    echo "No names         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题