Skip to content

Commit b69917a

Browse files
committed
Update Kind to v0.20.0
1 parent 537b436 commit b69917a

File tree

5 files changed

+26
-16
lines changed

5 files changed

+26
-16
lines changed

.github/workflows/pre-main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ jobs:
8585
- name: Start the k8s cluster
8686
uses: ./.github/actions/start-k8s-cluster
8787

88+
- name: Setup tmate session
89+
uses: mxschmitt/action-tmate@v3
90+
8891
- name: Create `local-test-infra` OpenShift resources
8992
uses: ./.github/actions/create-local-test-infra-resources
9093

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ sudo systemctl restart docker
157157
Download and install Kubernetes In Docker (Kind):
158158

159159
```shell-script
160-
curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/v0.18.0/kind-linux-amd64
160+
curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/v0.20.0/kind-linux-amd64
161161
```
162162

163163
Configure a cluster with 4 worker nodes and one master node ( dual stack ):

config/k8s-cluster/config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ networking:
77
apiServerPort: 6443
88
nodes:
99
- role: control-plane
10-
image: kindest/node:v1.26.3@sha256:61b92f38dff6ccc29969e7aa154d34e38b89443af1a2c14e6cfbd2df6419c66f
10+
image: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
1111
- role: worker
12-
image: kindest/node:v1.26.3@sha256:61b92f38dff6ccc29969e7aa154d34e38b89443af1a2c14e6cfbd2df6419c66f
12+
image: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
1313
- role: worker
14-
image: kindest/node:v1.26.3@sha256:61b92f38dff6ccc29969e7aa154d34e38b89443af1a2c14e6cfbd2df6419c66f
14+
image: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
1515
- role: worker
16-
image: kindest/node:v1.26.3@sha256:61b92f38dff6ccc29969e7aa154d34e38b89443af1a2c14e6cfbd2df6419c66f
16+
image: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72

config/vagrant/scripts/bootstrap-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# shellcheck disable=SC2207
33

44
# Download and install Kubernetes In Docker (Kind):
5-
sudo curl -Lo /usr/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.18.0/kind-linux-amd64
5+
sudo curl -Lo /usr/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.20.0/kind-linux-amd64
66
sudo chmod +x /usr/bin/kind
77

88
# download the latest openshift client at a certain release level

scripts/install-olm.sh

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,24 @@ fi
1313

1414
echo "Installing OLM for non OCP cluster"
1515

16-
#check if operator-sdk is installed and install it if needed
17-
if [[ -z "$(which operator-sdk 2>/dev/null)" ]]; then
18-
echo "operator-sdk executable cannot be found in the path. Will try to install it."
19-
"$SCRIPT_DIR"/install-operator-sdk.sh
20-
else
21-
echo "operator-sdk was found in the path, no need to install it"
22-
fi
16+
# #check if operator-sdk is installed and install it if needed
17+
# if [[ -z "$(which operator-sdk 2>/dev/null)" ]]; then
18+
# echo "operator-sdk executable cannot be found in the path. Will try to install it."
19+
# "$SCRIPT_DIR"/install-operator-sdk.sh
20+
# else
21+
# echo "operator-sdk was found in the path, no need to install it"
22+
# fi
23+
24+
git clone https://github.com/operator-framework/operator-lifecycle-manager.git -b v0.25.0 || exit 1
25+
cd operator-lifecycle-manager || exit 1
26+
oc apply -f deploy/upstream/quickstart/crds.yaml
27+
oc apply -f deploy/upstream/quickstart/olm.yaml
28+
cd ..
29+
rm -rf operator-lifecycle-manager
2330

24-
# Install OLM
25-
operator-sdk olm uninstall
26-
operator-sdk olm install --version=v0.24.0
31+
# # Install OLM
32+
# operator-sdk olm uninstall
33+
# operator-sdk olm install --version=latest
2734
# Wait for all OLM pods to be ready
2835
kubectl wait --for=condition=ready pod --all=true -nolm --timeout="$TNF_DEPLOYMENT_TIMEOUT"
2936
sleep 5

0 commit comments

Comments
 (0)