Skip to content

Commit

Permalink
trivial. remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
ktkfree committed May 20, 2024
1 parent 0d80688 commit 6da23d9
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 @@ -691,7 +691,7 @@ spec:
case $INFRA_PROVIDER in
aws)
# check whether admin cluster is managed or not
kcp_count=$(kubectl get kcp -n default $CLUSTER-control-plane | grep -v NAME | wc -l)
kcp_count=$(kubectl get kcp -n default $CLUSTER | grep -v NAME | wc -l)
awsmcp_count=$(kubectl get awsmcp -n default $CLUSTER | grep -v NAME | wc -l)
if [ $kcp_count = 1 ]; then # Self-managed control plane cluster
Expand Down

0 comments on commit 6da23d9

Please sign in to comment.