diff --git a/templates/argo-cd/prepare-argocd-wftpl.yaml b/templates/argo-cd/prepare-argocd-wftpl.yaml index d185818..31da5fd 100644 --- a/templates/argo-cd/prepare-argocd-wftpl.yaml +++ b/templates/argo-cd/prepare-argocd-wftpl.yaml @@ -77,10 +77,20 @@ spec: ./argocd proj create sealed-secrets --dest "*,*" --src "*" --allow-cluster-resource "*/*" fi + ./argocd proj get tks-cluster-common + if [[ $? != 0 ]]; then + ./argocd proj create tks-cluster-common --dest "*,*" --src "*" --allow-cluster-resource "*/*" + fi + ./argocd proj get tks-cluster-aws if [[ $? != 0 ]]; then ./argocd proj create tks-cluster-aws --dest "*,*" --src "*" --allow-cluster-resource "*/*" - fi + fi + + ./argocd proj get tks-cluster-byoh + if [[ $? != 0 ]]; then + ./argocd proj create tks-cluster-byoh --dest "*,*" --src "*" --allow-cluster-resource "*/*" + fi ./argocd proj get admin-tools if [[ $? != 0 ]]; then