diff --git a/internal/config/config.go b/internal/config/config.go index 19b5beb80..539e6f9d6 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -69,7 +69,7 @@ type Config struct { Name string `yaml:"name" validate:"valid_name,required"` // description: | // Kubernetes version to be installed into the cluster. - KubernetesVersion string `yaml:"kubernetesVersion" validate:"required,supported_k8s_version"` + KubernetesVersion versions.ValidK8sVersion `yaml:"kubernetesVersion" validate:"required,supported_k8s_version"` // description: | // Microservice version to be installed into the cluster. Defaults to the version of the CLI. MicroserviceVersion semver.Semver `yaml:"microserviceVersion" validate:"required"`