From a5b98e5f289024073af5d84ec6b40f9591a86fe1 Mon Sep 17 00:00:00 2001 From: donggyu Date: Tue, 16 Apr 2024 15:21:33 +0900 Subject: [PATCH] bugfix. fix grammar error --- tks-cluster/create-usercluster-wftpl.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tks-cluster/create-usercluster-wftpl.yaml b/tks-cluster/create-usercluster-wftpl.yaml index 6d935de9..09d260a6 100644 --- a/tks-cluster/create-usercluster-wftpl.yaml +++ b/tks-cluster/create-usercluster-wftpl.yaml @@ -448,7 +448,7 @@ spec: ####### add tks info. on namespace ######## POLICY_NS=$(kubectl get ns -l tks.io/organization=${CONTRACT_ID} --ignore-not-found=true | grep -v NAME | awk '{print $1}' ) kubectl label ns ${CLUSTER_ID} tks.io/organization=${CONTRACT_ID} - if [ -z "$POLICY_NS" ]"; then + if [ -z "$POLICY_NS" ]; then kubectl label ns ${CLUSTER_ID} tks.io/policy=${CLUSTER_ID} else kubectl label ns ${CLUSTER_ID} tks.io/policy=${POLICY_NS}