mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-06 22:14:24 -04:00
deps: add Kubernetes v1.27, remove Kubernetes v1.24 (#1669)
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
b48866a756
commit
30cd024076
8 changed files with 127 additions and 117 deletions
|
@ -416,12 +416,12 @@ func (c *Config) validateK8sVersion(fl validator.FieldLevel) bool {
|
|||
// supported patch version as PATCH.
|
||||
func K8sVersionFromMajorMinor(version string) string {
|
||||
switch version {
|
||||
case semver.MajorMinor(string(versions.V1_24)):
|
||||
return string(versions.V1_24)
|
||||
case semver.MajorMinor(string(versions.V1_25)):
|
||||
return string(versions.V1_25)
|
||||
case semver.MajorMinor(string(versions.V1_26)):
|
||||
return string(versions.V1_26)
|
||||
case semver.MajorMinor(string(versions.V1_27)):
|
||||
return string(versions.V1_27)
|
||||
default:
|
||||
return ""
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue