Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Installer: e2e tests against unsupported minor & major versions of K8s (
#451) * Implemented K8s patch version masking via registry filter similar to the OS one * Revert "Implemented K8s patch version masking via registry filter similar to the OS one" This reverts commit fdbfbb2. * Implemented K8s patch version masking via registry filter similar to the OS one * Updated the registry e2e test * Resolved hardcoded k8s version requirement from the Installer * Resolved issue causing the installer to panic when no k8s version is specified when calling the addBundleInstaller - it now defaults to v1.22.3 if no k8s ver is specified * Default K8s version set to v1.22 if no such is provided; Any patch subversion is accepted if supported Major and Minor versions are present. * Added filters for K8s versions v1.21.*, v1.22.*, v1.23.* * Revert "Added filters for K8s versions v1.21.*, v1.22.*, v1.23.*" This reverts commit eb3a033. * Revert "Added filters for K8s versions v1.21.*, v1.22.*, v1.23.*" This reverts commit eb3a033. There is a separate issue for this task. * Updated K8s against algo mapping to require specific hardcoded mask versions * Added empty lines between couple of comments * Refactored the filter container from plain array to struct for consistency reasons; Updated the registry e2e tests * Removed unused registry test variable * Renamed the supported OS container structure to better represent it purpose. * Added support and filters for K8s minor versions v1.21.* & v1.23.* to the installer. * Implemented tests for unsupported K8s versions * Resolved go lint missing space issue * Consolidated Installer Ginkgo test Contexts to a single one as they are seving the same purpose * Resolved golangc-lint err in an Installer Test * Updated Installer Test to conform the updated signature of the newUnchecked() method that requires the Bundle Type
- Loading branch information