Skip to content

Commit dbe4e4d

Browse files
authored
Update Kind to v0.14.0 (#122)
1 parent 2002f56 commit dbe4e4d

File tree

13 files changed

+19
-19
lines changed

13 files changed

+19
-19
lines changed

.github/actions/start-k8s-cluster/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
working_directory:
55
default: .
66
kind_version:
7-
default: v0.12.0
7+
default: v0.14.0
88
oc_kcm_timeout:
99
default: 5m
1010

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ sudo systemctl restart docker
136136

137137
Download and install Kubernetes In Docker (Kind):
138138
```shell-script
139-
curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/v0.12.0/kind-linux-amd64
139+
curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/v0.14.0/kind-linux-amd64
140140
```
141141

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

config/k8s-cluster/calico.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2827,7 +2827,7 @@ spec:
28272827
# It can be deleted if this is a fresh installation, or if you have already
28282828
# upgraded to use calico-ipam.
28292829
- name: upgrade-ipam
2830-
image: docker.io/calico/cni:v3.22.2
2830+
image: docker.io/calico/cni:v3.23.1
28312831
command: ["/opt/cni/bin/calico-ipam", "-upgrade"]
28322832
envFrom:
28332833
- configMapRef:
@@ -2854,7 +2854,7 @@ spec:
28542854
# This container installs the CNI binaries
28552855
# and CNI network config file on each node.
28562856
- name: install-cni
2857-
image: docker.io/calico/cni:v3.22.2
2857+
image: docker.io/calico/cni:v3.23.1
28582858
command: ["/opt/cni/bin/install"]
28592859
envFrom:
28602860
- configMapRef:
@@ -2895,7 +2895,7 @@ spec:
28952895
# Adds a Flex Volume Driver that creates a per-pod Unix Domain Socket to allow Dikastes
28962896
# to communicate with Felix over the Policy Sync API.
28972897
- name: flexvol-driver
2898-
image: docker.io/calico/pod2daemon-flexvol:v3.22.2
2898+
image: docker.io/calico/pod2daemon-flexvol:v3.23.1
28992899
volumeMounts:
29002900
- name: flexvol-driver-host
29012901
mountPath: /host/driver
@@ -2906,7 +2906,7 @@ spec:
29062906
# container programs network policy and routes on each
29072907
# host.
29082908
- name: calico-node
2909-
image: docker.io/calico/node:v3.22.2
2909+
image: docker.io/calico/node:v3.23.1
29102910
envFrom:
29112911
- configMapRef:
29122912
# Allow KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT to be overridden for eBPF mode.
@@ -3125,7 +3125,7 @@ spec:
31253125
priorityClassName: system-cluster-critical
31263126
containers:
31273127
- name: calico-kube-controllers
3128-
image: docker.io/calico/kube-controllers:v3.22.2
3128+
image: docker.io/calico/kube-controllers:v3.23.1
31293129
env:
31303130
# Choose which controllers to run.
31313131
- name: ENABLED_CONTROLLERS

config/vagrant/scripts/bootstrap-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Download and install Kubernetes In Docker (Kind):
4-
sudo curl -Lo /usr/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.12.0/kind-linux-amd64
4+
sudo curl -Lo /usr/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.14.0/kind-linux-amd64
55
sudo chmod +x /usr/bin/kind
66

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

scripts/clean-all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ source "$SCRIPT_DIR"/init-env.sh
88
./"$SCRIPT_DIR"/delete-debug-ds.sh
99

1010
# Delete namespace
11-
oc delete namespace "${TNF_EXAMPLE_CNF_NAMESPACE}"
11+
oc delete namespace "${TNF_EXAMPLE_CNF_NAMESPACE}" --ignore-not-found=true
1212

1313
# Delete test CRDs
1414
"$SCRIPT_DIR"/delete-test-crds.sh

scripts/create-secret.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ source "$SCRIPT_DIR"/init-env.sh
88
if [[ -n "$(ls "$SCRIPT_DIR"/certs/registry.pem 2>/dev/null)" ]]; then
99
echo "pem file found, create secret from pem file"
1010
cp "$SCRIPT_DIR"/certs/registry.pem "$SCRIPT_DIR"/certs/cert.pem
11-
oc delete secret "$SECRET_NAME" -n "$TNF_EXAMPLE_CNF_NAMESPACE"
11+
oc delete secret "$SECRET_NAME" -n "$TNF_EXAMPLE_CNF_NAMESPACE" --ignore-not-found=true
1212
oc create secret generic "$SECRET_NAME" --from-file="$SCRIPT_DIR"/certs/cert.pem -n "$TNF_EXAMPLE_CNF_NAMESPACE"
1313
else
1414
echo "No pem file present, skipping secret creation"

scripts/delete-community-operator.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ SCRIPT_DIR=$(dirname "$0")
55
source "$SCRIPT_DIR"/init-env.sh
66

77
# delete CSV
8-
oc delete csv "$COMMUNITY_OPERATOR_NAME" -n "$TNF_EXAMPLE_CNF_NAMESPACE"
8+
oc delete csv "$COMMUNITY_OPERATOR_NAME" -n "$TNF_EXAMPLE_CNF_NAMESPACE" --ignore-not-found=true
99

1010
# delete operator group
11-
oc delete operatorgroups test-group -n "$TNF_EXAMPLE_CNF_NAMESPACE"
11+
oc delete operatorgroups test-group -n "$TNF_EXAMPLE_CNF_NAMESPACE" --ignore-not-found=true
1212

1313
# delete subscription
14-
oc delete subscriptions test-subscription -n "$TNF_EXAMPLE_CNF_NAMESPACE"
14+
oc delete subscriptions test-subscription -n "$TNF_EXAMPLE_CNF_NAMESPACE" --ignore-not-found=true

scripts/delete-debug-ds.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ SCRIPT_DIR=$(dirname "$0")
55
source "$SCRIPT_DIR"/init-env.sh
66

77
# Delete debug daemonset
8-
oc delete daemonsets.apps/debug -n "${DEFAULT_NAMESPACE}"
8+
oc delete daemonsets.apps/debug -n "${DEFAULT_NAMESPACE}" --ignore-not-found=true
99
until [[ -z "$(oc get ds debug -n "${DEFAULT_NAMESPACE}" 2>/dev/null)" ]]; do sleep 5; done

scripts/delete-hpa.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ SCRIPT_DIR=$(dirname "$0")
55
source "$SCRIPT_DIR"/init-env.sh
66

77
# Delete the hpa
8-
oc delete hpa test -n "${TNF_EXAMPLE_CNF_NAMESPACE}"
8+
oc delete hpa test -n "${TNF_EXAMPLE_CNF_NAMESPACE}" --ignore-not-found=true

scripts/delete-litmus-operator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
SCRIPT_DIR=$(dirname "$0")
55
source "$SCRIPT_DIR"/init-env.sh
66

7-
oc delete -f ./scripts/operator-ce.yaml
7+
oc delete -f ./scripts/operator-ce.yaml --ignore-not-found=true

0 commit comments

Comments
 (0)