Skip to content

Commit

Permalink
Added support for K8s minor versions v1.21.* & v1.23.* to the Install…
Browse files Browse the repository at this point in the history
…er (#440)

* Added support and filters for K8s minor versions v1.21.* & v1.23.* to the installer.
  • Loading branch information
jeuxdemains authored Mar 22, 2022
1 parent d143e6e commit cc605cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions agent/installer/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,18 @@ func getSupportedRegistry(ob algo.OutputBuilder) registry {

// BYOH Bundle Repository. Associate bundle with installer
linuxDistro := "Ubuntu_20.04.1_x86-64"
addBundleInstaller(linuxDistro, "v1.21.*", &algo.Ubuntu20_4K8s1_22{})
addBundleInstaller(linuxDistro, "v1.22.*", &algo.Ubuntu20_4K8s1_22{})
addBundleInstaller(linuxDistro, "v1.23.*", &algo.Ubuntu20_4K8s1_22{})

/*
* PLACEHOLDER - ADD MORE K8S VERSIONS HERE
*/

// Match any patch version of the specified Major & Minor K8s version
reg.AddK8sFilter("v1.21.*")
reg.AddK8sFilter("v1.22.*")
reg.AddK8sFilter("v1.23.*")

// Match concrete os version to repository os version
reg.AddOsFilter("Ubuntu_20.04.*_x86-64", linuxDistro)
Expand Down

0 comments on commit cc605cf

Please sign in to comment.