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}