Upgrade default version of kind and kubectl #11
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes tests broken by #10
Motivation
Many tests are failing on MacOS because they test against very old versions of
kind
that don't work properly on MacOS, thus we can benefit from this problem to upgrade the default version ofkind
to a more recent version.Modifications
kind
tov0.17.0
kubectl
tov1.26.1
kind
,kubectl
andknative
yq
to make that we have the same version on both OS and thus the same arguments${INPUT_REGISTRY,,}
for lowercase as it is only supported on bash 4 and MacOS still uses v3docker
when needed thanks to a dedicated bash functiontee
to update the file/etc/hosts
since the workaround doesn't work properly and adapt it for both OS