Skip to content

Commit

Permalink
Merge pull request #356 from openinfradev/minor_fix
Browse files Browse the repository at this point in the history
trivial. fix syntax error
  • Loading branch information
ktkfree authored Apr 17, 2024
2 parents d8c4ab8 + fc61aef commit d2fd546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tks-cluster/create-usercluster-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ spec:
kubectl label ns ${CLUSTER_ID} tks.io/policy=${CLUSTER_ID}
else
POLICY_NS=$(kubectl get ns $(kubectl get ns -l tks.io/organization=${CONTRACT_ID} --ignore-not-found=true | grep -v NAME | awk '{print $1}' | head -n 1 ) --ignore-not-found=true -o jsonpath='{.metadata.labels.tks\.io\/policy}' )
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}
Expand Down

0 comments on commit d2fd546

Please sign in to comment.