diff --git a/.github/kind-cluster.yaml b/.github/kind-cluster-1.17.yaml similarity index 50% rename from .github/kind-cluster.yaml rename to .github/kind-cluster-1.17.yaml index f30e384..32d235f 100644 --- a/.github/kind-cluster.yaml +++ b/.github/kind-cluster-1.17.yaml @@ -2,7 +2,12 @@ kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane + image: kindest/node:v1.17.5 - role: control-plane + image: kindest/node:v1.17.5 - role: control-plane + image: kindest/node:v1.17.5 - role: worker + image: kindest/node:v1.17.5 - role: worker + image: kindest/node:v1.17.5 diff --git a/.github/kind-cluster-1.18.yaml b/.github/kind-cluster-1.18.yaml new file mode 100644 index 0000000..699f25a --- /dev/null +++ b/.github/kind-cluster-1.18.yaml @@ -0,0 +1,13 @@ +kind: Cluster +apiVersion: kind.x-k8s.io/v1alpha4 +nodes: +- role: control-plane + image: kindest/node:v1.18.8 +- role: control-plane + image: kindest/node:v1.18.8 +- role: control-plane + image: kindest/node:v1.18.8 +- role: worker + image: kindest/node:v1.18.8 +- role: worker + image: kindest/node:v1.18.8 diff --git a/.github/kind-cluster-1.19.yaml b/.github/kind-cluster-1.19.yaml new file mode 100644 index 0000000..94fba26 --- /dev/null +++ b/.github/kind-cluster-1.19.yaml @@ -0,0 +1,13 @@ +kind: Cluster +apiVersion: kind.x-k8s.io/v1alpha4 +nodes: +- role: control-plane + image: kindest/node:v1.19.0 +- role: control-plane + image: kindest/node:v1.19.0 +- role: control-plane + image: kindest/node:v1.19.0 +- role: worker + image: kindest/node:v1.19.0 +- role: worker + image: kindest/node:v1.19.0 diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index 6f4a7e4..405d506 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -17,6 +17,12 @@ on: jobs: deploy-manifests: runs-on: ubuntu-latest + strategy: + matrix: + kubernetes-version: + - 1.17 + - 1.18 + - 1.19 steps: - name: Checkout uses: actions/checkout@v2 @@ -35,7 +41,7 @@ jobs: - name: Create 5 node kind cluster uses: helm/kind-action@master with: - config: .github/kind-cluster.yaml + config: .github/kind-cluster-${{ matrix.kubernetes-version}}.yaml - name: Deploy kured on default namespace with its helm chart run: |