mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-03 04:26:20 -04:00
kubernetes version: rename latest -> default
Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
parent
d995558ffd
commit
57e77ee53f
8 changed files with 28 additions and 28 deletions
|
@ -95,7 +95,7 @@ func TestTrivialCCMFunctions(t *testing.T) {
|
|||
assert := assert.New(t)
|
||||
cloud := CloudControllerManager{}
|
||||
|
||||
assert.NotEmpty(cloud.Image(versions.Latest))
|
||||
assert.NotEmpty(cloud.Image(versions.Default))
|
||||
assert.NotEmpty(cloud.Path())
|
||||
assert.NotEmpty(cloud.Name())
|
||||
assert.NotEmpty(cloud.ExtraArgs())
|
||||
|
|
|
@ -17,7 +17,7 @@ func TestTrivialCNMFunctions(t *testing.T) {
|
|||
assert := assert.New(t)
|
||||
cloud := CloudNodeManager{}
|
||||
|
||||
assert.NotEmpty(cloud.Image(versions.Latest))
|
||||
assert.NotEmpty(cloud.Image(versions.Default))
|
||||
assert.NotEmpty(cloud.Path())
|
||||
assert.NotEmpty(cloud.ExtraArgs())
|
||||
assert.True(cloud.Supported())
|
||||
|
|
|
@ -139,7 +139,7 @@ func TestTrivialCCMFunctions(t *testing.T) {
|
|||
assert := assert.New(t)
|
||||
cloud := CloudControllerManager{}
|
||||
|
||||
assert.NotEmpty(cloud.Image(versions.Latest))
|
||||
assert.NotEmpty(cloud.Image(versions.Default))
|
||||
assert.NotEmpty(cloud.Path())
|
||||
assert.NotEmpty(cloud.Name())
|
||||
assert.NotEmpty(cloud.ExtraArgs())
|
||||
|
|
|
@ -297,7 +297,7 @@ func Default() *Config {
|
|||
EnforcedMeasurements: []uint32{11, 12},
|
||||
},
|
||||
},
|
||||
KubernetesVersion: string(versions.Latest),
|
||||
KubernetesVersion: string(versions.Default),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -49,10 +49,10 @@ const (
|
|||
NodeMaintenanceOperatorVersion = "v0.13.1-alpha1"
|
||||
|
||||
// currently supported versions.
|
||||
V1_22 ValidK8sVersion = "1.22"
|
||||
V1_23 ValidK8sVersion = "1.23"
|
||||
V1_24 ValidK8sVersion = "1.24"
|
||||
Latest ValidK8sVersion = V1_24
|
||||
V1_22 ValidK8sVersion = "1.22"
|
||||
V1_23 ValidK8sVersion = "1.23"
|
||||
V1_24 ValidK8sVersion = "1.24"
|
||||
Default ValidK8sVersion = V1_24
|
||||
)
|
||||
|
||||
// versionConfigs holds download URLs for all required kubernetes components for every supported version.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue