versions: move hash generator into own package

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-01-10 18:08:31 +01:00
parent c081664d03
commit 4bc191e434
4 changed files with 20 additions and 5 deletions

View file

@ -96,7 +96,7 @@ const (
// Regenerate the hashes by running go generate.
// To add another Kubernetes version, add a new entry to the VersionConfigs map below and fill the Hash field with an empty string.
//go:generate go run generateHashes.go
//go:generate go run hash-generator/generate.go
// VersionConfigs holds download URLs for all required kubernetes components for every supported version.
var VersionConfigs = map[ValidK8sVersion]KubernetesVersion{