Skip to content

Commit

Permalink
Merge pull request #1577 from 24sama/cluster-api-provider
Browse files Browse the repository at this point in the history
Support more Kubernetes and k3s version
  • Loading branch information
ks-ci-bot authored Nov 4, 2022
2 parents 1e52f95 + f20b95f commit 393cc10
Show file tree
Hide file tree
Showing 6 changed files with 233 additions and 74 deletions.
103 changes: 96 additions & 7 deletions cmd/kk/pkg/files/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ import (
"path/filepath"
"strings"

"github.com/pkg/errors"

"github.com/kubesphere/kubekey/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/pkg/errors"
)

const (
Expand Down Expand Up @@ -348,6 +349,9 @@ var (
"v1.22.10": "df5e090a3c0e24b92b26f22f1d7689b6ea860099ea89b97edf5d4c19fa6da0ca",
"v1.22.11": "da3594b4e905627fd5c158531280e40a71dadf44f1f0b6c061a1b729a898dd9b",
"v1.22.12": "9410dcff069993caa7dfe783d35ac2d929ec258a2c3a4f0c3f269f1091931263",
"v1.22.13": "acbb0dd67b7656d0c70049484ba31c1981b803be0ae8f430dacad67e3e06c121",
"v1.22.14": "c8343a3e8a3056d922e466733486ccbbd8efd01a453a9e93e1cf8a164281e6b2",
"v1.22.15": "c84799162c33f758facbe9d6cbabfbda1ca3f74e87386e98af8711278c706872",
"v1.23.0": "e21269a058d4ad421cf5818d4c7825991b8ba51cd06286932a33b21293b071b0",
"v1.23.1": "4d5766cb90050ee84e15df5e09148072da2829492fdb324521c4fa6d74d3aa34",
"v1.23.2": "58487391ec37489bb32fe532e367995e9ecaeafdb65c2113ff3675e7a8407219",
Expand All @@ -359,10 +363,21 @@ var (
"v1.23.8": "edbd60fd6a7e11c71f848b3a6e5d1b5a2bb8ebd703e5490caa8db267361a7b89",
"v1.23.9": "947571c50ab840796fdd4ffb129154c005dfcb0fe83c6eff392d46cf187fd296",
"v1.23.10": "43d186c3c58e3f8858c6a22bc71b5441282ac0ccbff6f1d0c2a66ee045986b64",
"v1.23.11": "2f10bd298a694d3133ea19192b796a106c282441e4148c114c39376042097692",
"v1.23.12": "bf45d00062688d21ff479bf126e1259d0ce3dee1c5c2fcd803f57497cd5e9e83",
"v1.23.13": "ff86af2b5fa979234dd3f9e7b04ec7d3017239a58417397153726d8077c4ac89",
"v1.24.0": "5e58a29eaaf69ea80e90d9780d2a2d5f189fd74f94ec3bec9e3823d472277318",
"v1.24.1": "15e3193eecbc69330ada3f340c5a47999959bc227c735fa95e4aa79470c085d0",
"v1.24.2": "028f73b8e7c2ae389817d34e0cb829a814ce2fac0a535a3aa0708f3133e3e712",
"v1.24.3": "406d5a80712c45d21cdbcc51aab298f0a43170df9477259443d48eac116998ff",
"v1.24.4": "9ec08e0905c0a29a68676ba9f6dd7de73bef13cfa2b846a45e1c2189572dc57c",
"v1.24.5": "3b9c1844ec0fc3c94015d63470b073a7b219082b6a6424c6b0da9cf97e234aeb",
"v1.24.6": "7f4443fd42e0e03f6fd0c7218ca7e2634c9255d5f9d7c581fe362e19098aec4c",
"v1.24.7": "8b67319d28bf37e8e7c224954dc778cbe946f2bb0ed86975d8caa83d51c955ee",
"v1.25.0": "10b30b87af2cdc865983d742891eba467d038f94f3926bf5d0174f1abf6628f8",
"v1.25.1": "adaa1e65c1cf9267a01e889d4c13884f883cf27948f00abb823f10486f1a8420",
"v1.25.2": "63ee3de0c386c6f3c155874b46b07707cc72ce5b9e23f336befd0b829c1bd2ad",
"v1.25.3": "01b59ce429263c62b85d2db18f0ccdef076b866962ed63971ff2bd2864deea7b",
},
arm64: {
"v1.19.0": "db1c432646e6e6484989b6f7191f3610996ac593409f12574290bfc008ea11f5",
Expand Down Expand Up @@ -399,6 +414,9 @@ var (
"v1.22.10": "8ea22a05b428de70a430711e8f75553e1be2925977ab773b5be1c240bc5b9fcd",
"v1.22.11": "15e1cba65f0db4713bf45ee23dbd01dd30048d20ad97ef985d6b9197f8ae359a",
"v1.22.12": "d0469a3008411edb50f6562e00f1df28123cf2dc368f1538f1b41e27b0482b1c",
"v1.22.13": "2c42aadc99b46b6b5684acc7dfa630c67cb12c19b17df4cea3d2091ef5753011",
"v1.22.14": "cc03d2bdf29900244ff59614e007786f3ff4820e4d77709067298f5b2db20a9e",
"v1.22.15": "7f34e1e96831ae4fac769caa0dfd3646d2b02f6e0516394d814ca39d2fac4625",
"v1.23.0": "989d117128dcaa923b2c7a917a03f4836c1b023fe1ee723541e0e39b068b93a6",
"v1.23.1": "eb865da197f4595dec21e6fb1fa1751ef25ac66b64fa77fd4411bbee33352a40",
"v1.23.2": "a29fcde7f92e1abfe992e99f415d3aee0fa381478b4a3987e333438b5380ddff",
Expand All @@ -410,10 +428,21 @@ var (
"v1.23.8": "9b3d8863ea4ab0438881ccfbe285568529462bc77ef4512b515397a002d81b22",
"v1.23.9": "a0a007023db78e5f78d3d4cf3268b83f093201847c1c107ffb3dc695f988c113",
"v1.23.10": "42e957eebef78f6462644d9debc096616054ebd2832e95a176c07c28ebed645c",
"v1.23.11": "329d9aa9461baf4a7b7225e664ec1ecd61512b937e1f160f9a303bc0f0d44bbb",
"v1.23.12": "d05f6765a65f7541d07aad989ee80cd730c395f042afbe0526f667ea1a0b2947",
"v1.23.13": "462971d5822c91598754dfaa9c4c8d46a8c74aefef0f4dbbc8be31c4f0d18855",
"v1.24.0": "3e0fa21b8ebce04ca919fdfea7cc756e5f645166b95d6e4b5d9912d7721f9004",
"v1.24.1": "04f18fe097351cd16dc91cd3bde979201916686c6f4e1b87bae69ab4479fda04",
"v1.24.2": "bd823b934d1445a020f8df5fe544722175024af62adbf6eb27dc7250d5db0548",
"v1.24.3": "ea0fb451b69d78e39548698b32fb8623fad61a1a95483fe0add63e3ffb6e31b5",
"v1.24.4": "18de228f6087a2e5243bffcd2cc88c40180a4fa83e4de310ad071b4620bdd8b6",
"v1.24.5": "a68c6dd24ef47825bb34a2ad430d76e6b4d3cbe92187363676993d0538013ac2",
"v1.24.6": "211b8d1881468bb673b26036dbcfa4b12877587b0a6260ffd55fd87c2aee6e41",
"v1.24.7": "ee946d82173b63f69be9075e218250d4ab1deec39d17d600b16b6743e5dca289",
"v1.25.0": "07d9c6ffd3676502acd323c0ca92f44328a1f0e89a7d42a664099fd3016cf16b",
"v1.25.1": "f4d57d89c53b7fb3fe347c9272ed40ec55eab120f4f09cd6b684e97cb9cbf1f0",
"v1.25.2": "437dc97b0ca25b3fa8d74b39e4059a77397b55c1a6d16bddfd5a889d91490ce0",
"v1.25.3": "61bb61eceff78b44be62a12bce7c62fb232ce1338928e4207deeb144f82f1d06",
},
},
kubelet: {
Expand Down Expand Up @@ -452,6 +481,9 @@ var (
"v1.22.10": "c1aa6e9f59cfc765d33b382f604140699ab97c9c4212a905d5e1bcd7ef9a5c8b",
"v1.22.11": "50fb1ede16c15dfe0bcb9fa98148d969ae8efeb8b599ce5eb5f09ab78345c9d1",
"v1.22.12": "d54539bd0fa43b43e9ad2ac4e6644bcb3f1e98b8fc371befba7ac362d93a6b00",
"v1.22.13": "f55a72f5546ecf463f54e9220a1c38179b94b32ba561dfd6ec1f2fbe8231d640",
"v1.22.14": "76b1512da1104b4e80e23fa2c4d1cbd87b865f7bc25a41a46932cf0a219469ac",
"v1.22.15": "3c00f6d4e329c40c727eaf69f46eec25879ddce87c0b21b51fa1b3c6e55218b9",
"v1.23.0": "4756ff345dd80704b749d87efb8eb294a143a1f4a251ec586197d26ad20ea518",
"v1.23.1": "7ff47abf62096a41005d18c6d482cf73f26b613854173327fa9f2b98720804d4",
"v1.23.2": "c3c4be17910935d234b776288461baf7a9c6a7414d1f1ac2ef8d3a1af4e41ab6",
Expand All @@ -463,10 +495,21 @@ var (
"v1.23.8": "1ba15ad4d9d99cfc3cbef922b5101492ad74e812629837ac2e5705a68cb7af1e",
"v1.23.9": "a5975920be1de0768e77ef101e4e42b179406add242c0883a7dc598f2006d387",
"v1.23.10": "c2ba75b36000103af6fa2c3955c5b8a633b33740e234931441082e21a334b80b",
"v1.23.11": "b0e6d413f9b4cf1007fcb9f0ea6460ed5273a50c945ae475c224036b0ab817f7",
"v1.23.12": "98ffa8a736d3e43debb1aa61ae71dea3671989cde5e9e44c6ee51a3d47c63614",
"v1.23.13": "4d8f796b82dbe2b89b6d587bfeedf66724526b211c75a53456d4ac4014e3dcca",
"v1.24.0": "3d98ac8b4fb8dc99f9952226f2565951cc366c442656a889facc5b1b2ec2ba52",
"v1.24.1": "fc352d5c983b0ccf47acd8816eb826d781f408d27263dd8f761dfb63e69abfde",
"v1.24.2": "13da57d32be1debad3d8923e481f30aaa46bca7030b7e748b099d403b30e5343",
"v1.24.3": "da575ceb7c44fddbe7d2514c16798f39f8c10e54b5dbef3bcee5ac547637db11",
"v1.24.4": "0f34d12aaa1b911adbf75dd63df03d0674dde921fa0571a51acd2b5b576ba0a4",
"v1.24.5": "2448debe26e90341b038d7ccfcd55942c76ef3d9db48e42ceae5e8de3fbad631",
"v1.24.6": "f8b606f542327128e404d2e66a72a40dc2ddb4175fb8e93c55effeacea60921b",
"v1.24.7": "4d24c97c924c40971412cc497145ad823e4b7b87ccda97ebced375f7e886e9e2",
"v1.25.0": "7f9183fce12606818612ce80b6c09757452c4fb50aefea5fc5843951c5020e24",
"v1.25.1": "63e38bcbc4437ce10227695f8722371ec0d178067f1031d09fe1f59b6fcf214a",
"v1.25.2": "631e31b3ec648f920292fdc1bde46053cca5d5c71d622678d86907d556efaea3",
"v1.25.3": "d5c89c5e5dae6afa5f06a3e0e653ac3b93fa9a93c775a715531269ec91a54abe",
},
arm64: {
"v1.19.0": "d8fa5a9739ecc387dfcc55afa91ac6f4b0ccd01f1423c423dbd312d787bbb6bf",
Expand Down Expand Up @@ -503,6 +546,9 @@ var (
"v1.22.10": "2376a7ecc044bc4b5cdae9a0a14d058ae5c1803450f3a8ffdce656785e9e251e",
"v1.22.11": "d20398fa95ee724d63c3263af65eeb49e56c963fcace92efed2d2d0f6084c11a",
"v1.22.12": "0e58133c153be32e8e61004cfdc18f8a02ef465f979c6d5bf3e998fbe3f89fca",
"v1.22.13": "f8c1ec9fec6b36646ac05e1e26f0cd3e20395b500eca8ee3baeb3ca59935fdb0",
"v1.22.14": "663287b907c4aed4dfde55639da15a0d23fd0608b13afa9cf71fc3da850f3660",
"v1.22.15": "0c34cbda04ae914f342e683cf70f96d56d46033457d46ea79445e1483b501565",
"v1.23.0": "a546fb7ccce69c4163e4a0b19a31f30ea039b4e4560c23fd6e3016e2b2dfd0d9",
"v1.23.1": "c24e4ab211507a39141d227595610383f7c5686cae3795b7d75eebbce8606f3d",
"v1.23.2": "65372ad077a660dfb8a863432c8a22cd0b650122ca98ce2e11f51a536449339f",
Expand All @@ -514,10 +560,21 @@ var (
"v1.23.8": "1b4ec707e29e8136e3516a437cb541a79c52c69b1331a7add2b47e7ac7d032e6",
"v1.23.9": "c11b14ab3fa8e567c54e893c5a937f53618b26c9b62416cc8aa7760835f68350",
"v1.23.10": "8ce1c79ee7c5d346719e3637e72a51dd96fc7f2e1f443aa39b05c1d9d9de32c8",
"v1.23.11": "ce4f568c3193e8e0895062f783980da89adb6b54a399c797656a3ce172ddb2fc",
"v1.23.12": "b802f12c79a9797f83a366c617144d019d2994fc724c75f642a9d031ce6a3488",
"v1.23.13": "4e2297c9893d425bfcd80741b95fb1a5b59b4fd4f4bcf782ccab94760e653cdf",
"v1.24.0": "8f066c9a048dd1704bf22ccf6e994e2fa2ea1175c9768a786f6cb6608765025e",
"v1.24.1": "c2189c6956afda0f6002839f9f14a9b48c89dcc0228701e84856be36a3aac6bf",
"v1.24.2": "40a8460e104fbf97abee9763f6e1f2143debc46cc6c9a1a18e21c1ff9960d8c0",
"v1.24.3": "6c04ae25ee9b434f40e0d2466eb4ef5604dc43f306ddf1e5f165fc9d3c521e12",
"v1.24.4": "2d9817c1e9e1edd9480aa05862ea6e9655a9512d820b1933175f5d7c8253ca61",
"v1.24.5": "dd5dcea80828979981654ec0732b197be252a3259a527cbc299d9575bc2de3e8",
"v1.24.6": "2a7b8e131d6823462e38bc1514b5dea5dca86254b3a12ed4a0fa653c2e06dd0e",
"v1.24.7": "d8bd38e595ca061c53d3b7d1daebe5b3cc1ad44c731666bd5e842d336077db4b",
"v1.25.0": "69572a7b3d179d4a479aa2e0f90e2f091d8d84ef33a35422fc89975dc137a590",
"v1.25.1": "b6baa99b99ecc1f358660208a9a27b64c65f3314ff95a84c73091b51ac98484b",
"v1.25.2": "c9348c0bae1d723a39235fc041053d9453be6b517082f066b3a089c3edbdd2ae",
"v1.25.3": "929d25fc3f901749b058141a9c624ff379759869e09df49b75657c0be3141091",
},
},
kubectl: {
Expand Down Expand Up @@ -556,6 +613,9 @@ var (
"v1.22.10": "225bc8d4ac86e3a9e36b85d2d9cb90cd4b4afade29ba0292f47834ecf570abf2",
"v1.22.11": "a61c697e3c9871da7b609511248e41d9c9fb6d9e50001425876676924761586b",
"v1.22.12": "8e36c8fa431e454e3368c6174ce3111b7f49c28feebdae6801ab3ca45f02d352",
"v1.22.13": "b96d2bc9137ec63546a29513c40c5d4f74e9f89aa11edc15e3c2f674d5fa3e02",
"v1.22.14": "a4408b32b9729e38c14b38a64ea6f00d67d2127f9c1314fbc2273a37a987a2d2",
"v1.22.15": "239a48f1e465ecfd99dd5e3d219066ffea7bbd4cdedb98524e82ff11fd72ba12",
"v1.23.0": "2d0f5ba6faa787878b642c151ccb2c3390ce4c1e6c8e2b59568b3869ba407c4f",
"v1.23.1": "156fd5e7ebbedf3c482fd274089ad75a448b04cf42bc53f370e4e4ea628f705e",
"v1.23.2": "5b55b58205acbafa7f4e3fc69d9ce5a9257be63455db318e24db4ab5d651cbde",
Expand All @@ -567,10 +627,21 @@ var (
"v1.23.8": "299803a347e2e50def7740c477f0dedc69fc9e18b26b2f10e9ff84a411edb894",
"v1.23.9": "053561f7c68c5a037a69c52234e3cf1f91798854527692acd67091d594b616ce",
"v1.23.10": "3ffa658e7f1595f622577b160bdcdc7a5a90d09d234757ffbe53dd50c0cb88f7",
"v1.23.11": "cf04ad2fa1cf118a951d690af0afbbe8f5fc4f02c721c848080d466e6159111e",
"v1.23.12": "b150c7c4830cc3be4bedd8998bf36a92975c95cd1967b4ef2d1edda080ffe5d9",
"v1.23.13": "fae6957e6a7047ad49cdd20976cd2ce9188b502c831fbf61f36618ea1188ba38",
"v1.24.0": "94d686bb6772f6fb59e3a32beff908ab406b79acdfb2427abdc4ac3ce1bb98d7",
"v1.24.1": "0ec3c2dbafc6dd27fc8ad25fa27fc527b5d7356d1830c0efbb8adcf975d9e84a",
"v1.24.2": "f15fb430afd79f79ef7cf94a4e402cd212f02d8ec5a5e6a7ba9c3d5a2f954542",
"v1.24.3": "8a45348bdaf81d46caf1706c8bf95b3f431150554f47d444ffde89e8cdd712c1",
"v1.24.4": "4a76c70217581ba327f0ad0a0a597c1a02c62222bb80fbfea4f2f5cb63f3e2d8",
"v1.24.5": "3037f2ec62956e7146fc86defb052d8d3b28e2daa199d7e3ff06d1e06a6286ed",
"v1.24.6": "3ba7e61aecb19eadfa5de1c648af1bc66f5980526645d9dfe682d77fc313b74c",
"v1.24.7": "2d88e56d668b1d7575b4783f22d512e94da432f42467c3aeac8a300b6345f12d",
"v1.25.0": "e23cc7092218c95c22d8ee36fb9499194a36ac5b5349ca476886b7edc0203885",
"v1.25.1": "9cc2d6ce59740b6acf6d5d4a04d4a7d839b0a81373248ef0ce6c8d707143435b",
"v1.25.2": "8639f2b9c33d38910d706171ce3d25be9b19fc139d0e3d4627f38ce84f9040eb",
"v1.25.3": "f57e568495c377407485d3eadc27cda25310694ef4ffc480eeea81dea2b60624",
},
arm64: {
"v1.19.0": "d4adf1b6b97252025cb2f7febf55daa3f42dc305822e3da133f77fd33071ec2f",
Expand Down Expand Up @@ -607,6 +678,9 @@ var (
"v1.22.10": "6ce1a1315225d7d62f7d17083c9f87d4f3f5684c80da108799c99780ad520cb3",
"v1.22.11": "35da77af0581740aa8815c461ee912181fbb4cec09c2e0c9f6dbee58a48758a6",
"v1.22.12": "7d6507ecb8061f7d94d1bd6b982c56b1a1f929427bcc27a962fe66c61100f12a",
"v1.22.13": "e3e845bac0e1c30de20438433a8d75c64c237892245887a2818bd877b9601b41",
"v1.22.14": "942c5f0e7be658ed047d8691df3f80cf1dd00a642fb7eab5c5367cb2f8e937e6",
"v1.22.15": "206ccaa283eaf02f72d19cf7a490b71c7b9fa77c0eb265006db31ab84b56eac0",
"v1.23.0": "1d77d6027fc8dfed772609ad9bd68f611b7e4ce73afa949f27084ad3a92b15fe",
"v1.23.1": "c0c24c7f6a974390e15148a575c84878e925f32328ff96ae173ec762678e4524",
"v1.23.2": "6e7bb8ddc5fc8fa89a4c31aba02942718b092a5107585bd09a83c95039c7510b",
Expand All @@ -618,10 +692,21 @@ var (
"v1.23.8": "b293fce0b3dec37d3f5b8875b8fddc64e02f0f54f54dd7742368973c52530890",
"v1.23.9": "66659f614d06d0fe80c5eafdba7073940906de98ea5ee2a081d84fa37d8c5a21",
"v1.23.10": "d88b7777b3227dd49f44dbd1c7b918f9ddc5d016ecc47547a717a501fcdc316b",
"v1.23.11": "9416cc7abaf03eb83f854a45a41986bf4e1232d129d7caafc3101a01ca11b0e3",
"v1.23.12": "88ebbc41252b39d49ce574a5a2bb25943bb82e55a252c27fe4fc096ce2dbb437",
"v1.23.13": "950626ae35fca6c26096f97cac839d76e2f29616048ad30cec68f1ff003840f2",
"v1.24.0": "449278789de283648e4076ade46816da249714f96e71567e035e9d17e1fff06d",
"v1.24.1": "b817b54183e089494f8b925096e9b65af3a356d87f94b73929bf5a6028a06271",
"v1.24.2": "5a4c3652f08b4d095b686e1323ac246edbd8b6e5edd5a2626fb71afbcd89bc79",
"v1.24.3": "bdad4d3063ddb7bfa5ecf17fb8b029d5d81d7d4ea1650e4369aafa13ed97149a",
"v1.24.4": "0aa4a08ff81efe3fc1a8ef880ca2f8622e3b1f93bf622583d7b9bfe3124afe61",
"v1.24.5": "a5e348758c0f2b22adeb1b663b4b66781bded895d8ea2a714eb1de81fb00907a",
"v1.24.6": "2f62e55960b02bb63cbc9154141520ac7cf0c2d55b45dd4a72867971e24a7219",
"v1.24.7": "4b138a11b13210ce1731e06918f8fff6709c004c6fb6bec28544713854de9fe8",
"v1.25.0": "24db547bbae294c5c44f2b4a777e45f0e2f3d6295eace0d0c4be2b2dfa45330d",
"v1.25.1": "73602eabf20b877f88642fafcbe1eda439162c2c1dbcc9ed09fdd4d7ac9919ea",
"v1.25.2": "b26aa656194545699471278ad899a90b1ea9408d35f6c65e3a46831b9c063fd5",
"v1.25.3": "cfd5092ce347a69fe49c93681a164d9a8376d69eef587da894207c62ec7d6a5d",
},
},
etcd: {
Expand Down Expand Up @@ -657,14 +742,18 @@ var (
},
k3s: {
amd64: {
"v1.20.2": "ce3055783cf115ee68fc00bb8d25421d068579ece2fafa4ee1d09f3415aaeabf",
"v1.20.4": "1c7b68b0b7d54f21a9c1727545a7db181668115f161a3986bc137261dd817e98",
"v1.21.4": "47e686ad5390670da79a467ba94399d72e472364bc064a20fecd3937a8d928b5",
"v1.21.6": "89eb5f3d12524d0a9d5b56ba3e2707b106e1731dd0e6d2e7b898ac585f4959df",
"v1.20.2": "ce3055783cf115ee68fc00bb8d25421d068579ece2fafa4ee1d09f3415aaeabf",
"v1.20.4": "1c7b68b0b7d54f21a9c1727545a7db181668115f161a3986bc137261dd817e98",
"v1.21.4": "47e686ad5390670da79a467ba94399d72e472364bc064a20fecd3937a8d928b5",
"v1.21.6": "89eb5f3d12524d0a9d5b56ba3e2707b106e1731dd0e6d2e7b898ac585f4959df",
"v1.23.13": "334b42a96a65d7e54555827ca31f80896bf18978952f5aa5b8bb83bfdff3db0b",
"v1.24.7": "ec346c909f23b32f9ab7c3ccf5bfa74c89a0515191701ede83556345b70abdca",
},
arm64: {
"v1.21.4": "b7f8c026c5346b3e894d731f1dc2490cd7281687549f34c28a849f58c62e3e48",
"v1.21.6": "1f06a2da0e1e8596220a5504291ce69237979ebf520e2458c2d72573945a9c1d",
"v1.21.4": "b7f8c026c5346b3e894d731f1dc2490cd7281687549f34c28a849f58c62e3e48",
"v1.21.6": "1f06a2da0e1e8596220a5504291ce69237979ebf520e2458c2d72573945a9c1d",
"v1.23.13": "690a9e278d3e9b4b3884c787770ddda4b4d04490b09732913edaa9e9ede05c88",
"v1.24.7": "191de5ae89cd36a8e3a7582778c9839e90c6685e6ba32d0fb1249039f92a9058",
},
},
k8e: {
Expand Down
19 changes: 19 additions & 0 deletions cmd/kk/pkg/version/kubernetes/version_enum.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const (
V122
V123
V124
V125
)

var VersionList = []Version{
Expand All @@ -40,6 +41,7 @@ var VersionList = []Version{
V122,
V123,
V124,
V125,
}

func (v Version) String() string {
Expand All @@ -56,6 +58,8 @@ func (v Version) String() string {
return "v1.23"
case V124:
return "v1.24"
case V125:
return "v1.25"
default:
return "invalid option"
}
Expand Down Expand Up @@ -108,6 +112,9 @@ func SupportedK8sVersionList() []string {
"v1.22.10",
"v1.22.11",
"v1.22.12",
"v1.22.13",
"v1.22.14",
"v1.22.15",
"v1.23.0",
"v1.23.1",
"v1.23.2",
Expand All @@ -119,9 +126,21 @@ func SupportedK8sVersionList() []string {
"v1.23.8",
"v1.23.9",
"v1.23.10",
"v1.23.11",
"v1.23.12",
"v1.23.13",
"v1.24.0",
"v1.24.1",
"v1.24.2",
"v1.24.3",
"v1.24.3",
"v1.24.4",
"v1.24.5",
"v1.24.6",
"v1.24.7",
"v1.25.0",
"v1.25.1",
"v1.25.2",
"v1.25.3",
}
}
24 changes: 14 additions & 10 deletions docs/k3s-versions.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
## K3s Versions(amd64)

| Version | Supported |
|---------|---------------------|
| v1.20.2 | :white_check_mark: |
| v1.20.4 | :white_check_mark: |
| v1.21.4 | :white_check_mark: |
| v1.21.6 | :white_check_mark: |
| Version | Supported |
|----------|---------------------|
| v1.20.2 | :white_check_mark: |
| v1.20.4 | :white_check_mark: |
| v1.21.4 | :white_check_mark: |
| v1.21.6 | :white_check_mark: |
| v1.23.13 | :white_check_mark: |
| v1.24.7 | :white_check_mark: |

## K3s Versions(arm64)
| Version | Supported |
|-----------|--------------------|
| v1.21.4 | :white_check_mark: |
| v1.21.6 | :white_check_mark: |
| Version | Supported |
|----------|--------------------|
| v1.21.4 | :white_check_mark: |
| v1.21.6 | :white_check_mark: |
| v1.23.13 | :white_check_mark: |
| v1.24.7 | :white_check_mark: |
Loading

0 comments on commit 393cc10

Please sign in to comment.