Skip to content

Commit

Permalink
minor refactoring - placing artifacts applied to k8s and tsb in a sub…
Browse files Browse the repository at this point in the history
…directory for scenario
  • Loading branch information
Eitan Suez committed Jul 7, 2023
1 parent ac7b907 commit 0d7d4c6
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions scenarios/tsb-training/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ function wait_clusters_onboarded {
done
}

tctl apply -f clusters.yaml
tctl apply -f artifacts/clusters.yaml
wait_clusters_onboarded

tctl apply -f tenant.yaml
tctl apply -f artifacts/tenant.yaml

vcluster connect t1
kubectl apply -f t1-manifest.yaml
kubectl apply -f artifacts/t1-manifest.yaml

for cluster in c1 c2; do
vcluster connect ${cluster}
kubectl apply -f workload-manifest.yaml
kubectl apply -f artifacts/workload-manifest.yaml
kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/master/samples/bookinfo/platform/kube/bookinfo.yaml
kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/master/samples/sleep/sleep.yaml
done

tctl apply -f workspaces.yaml
tctl apply -f groups.yaml
tctl apply -f gateways.yaml
tctl apply -f artifacts/workspaces.yaml
tctl apply -f artifacts/groups.yaml
tctl apply -f artifacts/gateways.yaml

vcluster disconnect

0 comments on commit 0d7d4c6

Please sign in to comment.