Skip to content

Commit

Permalink
Bumping up to k8s 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanrainer committed Jun 24, 2022
1 parent 06de073 commit 3aef42c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ test:

.PHONY: test-e2e
test-e2e:
K8S_VERSION="1.20.15" \
K8S_VERSION="1.21.12" \
DRIVER_NAME=aws-efs-csi-driver \
CONTAINER_NAME=efs-plugin \
TEST_EXTRA_FLAGS='--cluster-name=$$CLUSTER_NAME --created-by=kops' \
Expand All @@ -129,7 +129,7 @@ test-e2e:
.PHONY: test-e2e-external-eks
test-e2e-external-eks:
CLUSTER_TYPE=eksctl \
K8S_VERSION="1.20" \
K8S_VERSION="1.21" \
DRIVER_NAME=aws-efs-csi-driver \
HELM_VALUES_FILE="./hack/values_eksctl.yaml" \
CONTAINER_NAME=efs-plugin \
Expand Down
2 changes: 1 addition & 1 deletion charts/aws-efs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sidecars:
csiProvisioner:
image:
repository: public.ecr.aws/eks-distro/kubernetes-csi/external-provisioner
tag: v3.1.0-eks-1-20-15
tag: v3.1.0-eks-1-21-12
pullPolicy: IfNotPresent
resources: {}

Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/base/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
periodSeconds: 10
failureThreshold: 5
- name: csi-provisioner
image: public.ecr.aws/eks-distro/kubernetes-csi/external-provisioner:v3.1.1-eks-1-20-15
image: public.ecr.aws/eks-distro/kubernetes-csi/external-provisioner:v3.1.0-eks-1-21-12
imagePullPolicy: IfNotPresent
args:
- --csi-address=$(ADDRESS)
Expand Down
6 changes: 3 additions & 3 deletions hack/e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ IMAGE_TAG=${IMAGE_TAG:-${TEST_ID}}

# kops: must include patch version (e.g. 1.19.1)
# eksctl: mustn't include patch version (e.g. 1.19)
K8S_VERSION=${K8S_VERSION:-1.20.15}
K8S_VERSION=${K8S_VERSION:-1.21.12}

KOPS_VERSION=${KOPS_VERSION:-1.21.0}
KOPS_STATE_FILE=${KOPS_STATE_FILE:-s3://k8s-kops-csi-e2e}
Expand Down Expand Up @@ -189,10 +189,10 @@ fi
loudecho "Driver deployment complete, time used: $secondUsed seconds"

loudecho "Testing focus ${GINKGO_FOCUS}"
eval "EXPANDED_TEST_EXTRA_FLAGS=\"$TEST_EXTRA_FLAGS\""
eval "EXPANDED_TEST_EXTRA_FLAGS=$TEST_EXTRA_FLAGS"
set -x
set +e
${GINKGO_BIN} -p -nodes="${GINKGO_NODES}" -v --focus="${GINKGO_FOCUS}" --skip="${GINKGO_SKIP}" "${TEST_PATH}" -- -kubeconfig="${KUBECONFIG}" -report-dir="${ARTIFACTS}" -gce-zone="${FIRST_ZONE}" $EXPANDED_TEST_EXTRA_FLAGS
${GINKGO_BIN} -p -nodes="${GINKGO_NODES}" -v --focus="${GINKGO_FOCUS}" --skip="${GINKGO_SKIP}" "${TEST_PATH}" -- -kubeconfig="${KUBECONFIG}" -report-dir="${ARTIFACTS}" -gce-zone="${FIRST_ZONE}" "${EXPANDED_TEST_EXTRA_FLAGS}"
TEST_PASSED=$?
set -e
set +x
Expand Down

0 comments on commit 3aef42c

Please sign in to comment.