From 6ad4fdc0bb21d3d515ace7a9af7f4d57a359325a Mon Sep 17 00:00:00 2001 From: Omer Levi Hevroni Date: Wed, 26 Jun 2019 14:50:44 +0300 Subject: [PATCH] replace k8s 1.12 with 1.15 (#223) * replace k8s 1.12 with 1.15 * fix the build * update kind version * fix the build * fix the build * fix the build * fix kind config --- .circleci/config.yml | 24 ++++++++++++------------ tests/crd-controller/kind-config.yaml | 15 +++++++++++++-- tests/crd-controller/run-tests.sh | 2 +- 3 files changed, 26 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a25d0f73b..54578ccdf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,24 +70,24 @@ jobs: - store_artifacts: path: tests/blackbox/compose/reports/ destination: zap-reports - - test_crd_1_12: - machine: true - steps: - - test_crd_command: - kubernetesVersion: "v1.12.8" test_crd_1_13: machine: true steps: - test_crd_command: - kubernetesVersion: "v1.13.6" + kubernetesVersion: "v1.13.7" test_crd_1_14: machine: true steps: - test_crd_command: - kubernetesVersion: "v1.14.2" + kubernetesVersion: "v1.14.3" + + test_crd_1_15: + machine: true + steps: + - test_crd_command: + kubernetesVersion: "v1.15.0" run_tests: docker: @@ -341,15 +341,15 @@ workflows: requires: - build_api - lint-scripts - - test_crd_1_12: + - test_crd_1_13: requires: - build_api - lint-scripts - - test_crd_1_13: + - test_crd_1_14: requires: - build_api - lint-scripts - - test_crd_1_14: + - test_crd_1_15: requires: - build_api - lint-scripts @@ -359,9 +359,9 @@ workflows: - build_api - run_tests - test_blackbox - - test_crd_1_12 - test_crd_1_13 - test_crd_1_14 + - test_crd_1_15 filters: branches: only: master diff --git a/tests/crd-controller/kind-config.yaml b/tests/crd-controller/kind-config.yaml index 70dd06e62..4f0e93447 100644 --- a/tests/crd-controller/kind-config.yaml +++ b/tests/crd-controller/kind-config.yaml @@ -1,6 +1,17 @@ kind: Config -apiVersion: kind.sigs.k8s.io/v1alpha2 +apiVersion: kind.sigs.k8s.io/v1alpha3 nodes: - role: control-plane - role: worker - replicas: 3 \ No newline at end of file + replicas: 3 + +# this config file contains all config fields with comments +kind: Cluster +apiVersion: kind.sigs.k8s.io/v1alpha3 +nodes: +# the control plane node config +- role: control-plane +# the three workers +- role: worker +- role: worker +- role: worker \ No newline at end of file diff --git a/tests/crd-controller/run-tests.sh b/tests/crd-controller/run-tests.sh index 7da36ab49..f0fba93ff 100755 --- a/tests/crd-controller/run-tests.sh +++ b/tests/crd-controller/run-tests.sh @@ -4,7 +4,7 @@ set -o errexit set -o nounset set -o pipefail -readonly KIND_VERSION=0.3.0 +readonly KIND_VERSION=0.4.0 readonly CLUSTER_NAME=e2e-test readonly KUBECTL_VERSION=v1.13.0