File tree Expand file tree Collapse file tree 4 files changed +21
-7
lines changed Expand file tree Collapse file tree 4 files changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ bootstrap-cluster-fedora-local:
3535# creates a k8s cluster instance
3636rebuild-cluster : delete-cluster
3737 ./scripts/deploy-k8s-cluster.sh
38+ ./scripts/deploy-calico.sh
3839
3940delete-cluster :
4041 ./scripts/delete-k8s-cluster.sh
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -x
3+
4+ # Download the calico YAML and change the image source to quay
5+ curl https://raw.githubusercontent.com/projectcalico/calico/v3.25.1/manifests/calico.yaml |
6+ sed s/docker.io/quay.io/g > temp-calico.yaml
7+
8+ # Delete calico (not needed but more feature rich - for future use)
9+ oc delete -f temp-calico.yaml
10+ rm temp-calico.yaml
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -x
3+
4+ # Download the calico YAML and change the image source to quay
5+ curl https://raw.githubusercontent.com/projectcalico/calico/v3.25.1/manifests/calico.yaml |
6+ sed s/docker.io/quay.io/g > temp-calico.yaml
7+
8+ # Deploy calico
9+ oc create -f temp-calico.yaml
10+ rm temp-calico.yaml
Original file line number Diff line number Diff line change 33
44# Kind base with kindnetcni and ipv4/ipv6
55kind create cluster --config=config/k8s-cluster/config.yaml
6-
7- # Download the calico YAML and change the image source to quay
8- curl https://raw.githubusercontent.com/projectcalico/calico/v3.25.1/manifests/calico.yaml |
9- sed s/docker.io/quay.io/g > temp-calico.yaml
10-
11- # Deploy calico (not needed but more feature rich - for future use)
12- oc create -f temp-calico.yaml
You can’t perform that action at this time.
0 commit comments