Closed coryflucas closed 3 months ago
can you provide a link to your workflow of your changes to confirm? We should be able to see the matrix of the k8s versions all passing.
I had originally thought the workflow had already run in my branch but it hadn't due to the workflow being restricted to only run against the Hashicorp org. I got it running and have found that a subset of the tests fail against older versions of Kubernetes. The failures seem to fall into 3 categories:
I'd like to propose the following to get the tests in a passing state:
skipIfClusterVersionLessThan
precheck to the tests. This resolves category 1, and gets the category 2 and 3 tests back to a passing state and still has them running against more versions of k8s than they are running against today.Let me know what you think about this approach and I'll follow up.
@BBBmau I wen't ahead and did my proposed change in a new branch and have all tests now passing. Here is a break down of the issues I found:
Here is a link to the workflow run with the changes + a change to enable the workflow in my fork. Please let me know if you'd like me to merge those changes into this branch or go with a different approach.
@coryflucas thanks for working on this! I haven't had the change to really look at your PR in depth. I plan on doing this next week just as a heads-up. Apologies for the delay!
Description
Leverage a matrix to run the acceptance tests against multiple versions of Kubernetes.
The versions are based on the default version previously used (1.27) and the versions used in the manifest acceptance tests but with corrected SHAs to match the version of kind in use. Note: there is no 1.30 image available for kind 0.20 (its available for 0.23) so I opted to use 1.29.
Acceptance tests
N/A
Release Note
Release note for CHANGELOG:
References
fixes #2562
Community Note