Skip to content

Commit

Permalink
Set "oldest" tag in Makefile; Bump to K8s v1.19
Browse files Browse the repository at this point in the history
Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com>
  • Loading branch information
dhaiducek committed Nov 28, 2022
1 parent 2e01f54 commit 9f6a553
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
strategy:
matrix:
# Run tests on oldest and newest supported OCP Kubernetes
# - OCP 4.5 runs Kubernetes v1.18
# The "oldest" tag is set in the Makefile
# KinD tags: https://hub.docker.com/r/kindest/node/tags
kind:
- 'v1.18.15'
- 'oldest'
- 'latest'
name: KinD tests
steps:
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ KIND_NAMESPACE ?= open-cluster-management-agent-addon
KIND_VERSION ?= latest
MANAGED_CLUSTER_NAME ?= managed
WATCH_NAMESPACE ?= $(MANAGED_CLUSTER_NAME)
# Set the Kind version tag
ifneq ($(KIND_VERSION), latest)
KIND_ARGS = --image kindest/node:$(KIND_VERSION)
else ifneq ($(KIND_VERSION), oldest)
KIND_ARGS = --image kindest/node:v1.19.16
else
KIND_ARGS =
endif
Expand Down

0 comments on commit 9f6a553

Please sign in to comment.