Skip to content

Commit

Permalink
Update k8s versions to latest patch (#1868)
Browse files Browse the repository at this point in the history
Signed-off-by: Waleed Malik <[email protected]>
  • Loading branch information
ahmedwaleedmalik authored Oct 11, 2024
1 parent 4465175 commit 95ee8c0
Show file tree
Hide file tree
Showing 21 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion examples/alibaba-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ spec:
distUpgradeOnBoot: false
disableAutoUpdate: true
versions:
kubelet: 1.30.4
kubelet: 1.30.5
4 changes: 2 additions & 2 deletions examples/anexia-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
# least one Prefix, because we have to know (and thus, reserve)
# at least one IP address for each Machine.
prefixes:
- "<< ANEXIA_PREFIX_ID >>"
- "<< ANEXIA_PREFIX_ID >>"

# You may have this old disk config attribute in your config - please migrate to the disks attribute.
# For now it is still recognized though.
Expand All @@ -83,4 +83,4 @@ spec:
distUpgradeOnBoot: false
disableAutoUpdate: true
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/aws-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ spec:
# provided the rhsm will be disabled and any created subscription won't be removed automatically
rhsmOfflineToken: "<< REDHAT_SUBSCRIPTIONS_OFFLINE_TOKEN >>"
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/azure-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ spec:
# provided the rhsm will be disabled and any created subscription won't be removed automatically
rhsmOfflineToken: "<< REDHAT_SUBSCRIPTIONS_OFFLINE_TOKEN >>"
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/digitalocean-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ spec:
operatingSystemSpec:
disableAutoUpdate: true
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/equinixmetal-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ spec:
operatingSystemSpec:
distUpgradeOnBoot: false
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/gce-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ spec:
# provided the rhsm will be disabled and any created subscription won't be removed automatically
rhsmOfflineToken: "<< REDHAT_SUBSCRIPTIONS_OFFLINE_TOKEN >>"
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/hetzner-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ spec:
operatingSystemSpec:
distUpgradeOnBoot: false
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/kubevirt-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ spec:
# provided the rhsm will be disabled and any created subscription won't be removed automatically
rhsmOfflineToken: "<< REDHAT_SUBSCRIPTIONS_OFFLINE_TOKEN >>"
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/linode-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ spec:
operatingSystemSpec:
disableAutoUpdate: true
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/nutanix-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ spec:
distUpgradeOnBoot: false
disableAutoUpdate: true
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/opennebula-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ spec:
# use cloud-init for flatcar as ignition doesn't know anything about OpenNebula yet
provisioningUtility: "cloud-init"
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/openstack-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@ spec:
# provided the rhsm will be disabled and any created subscription won't be removed automatically
rhsmOfflineToken: "<< REDHAT_SUBSCRIPTIONS_OFFLINE_TOKEN >>"
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/scaleway-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ spec:
operatingSystemSpec:
disableAutoUpdate: true
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/vmware-cloud-director-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ spec:
operatingSystemSpec:
distUpgradeOnBoot: false
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/vsphere-datastore-cluster-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ spec:
# provided the rhsm will be disabled and any created subscription won't be removed automatically
rhsmOfflineToken: "<< REDHAT_SUBSCRIPTIONS_OFFLINE_TOKEN >>"
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/vsphere-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ spec:
# provided the rhsm will be disabled and any created subscription won't be removed automatically
rhsmOfflineToken: "<< REDHAT_SUBSCRIPTIONS_OFFLINE_TOKEN >>"
versions:
kubelet: 1.30.4
kubelet: 1.30.5
2 changes: 1 addition & 1 deletion examples/vultr-machinedeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ spec:
distUpgradeOnBoot: false
disableAutoUpdate: true
versions:
kubelet: 1.30.4
kubelet: 1.30.5
20 changes: 10 additions & 10 deletions test/e2e/provisioning/all_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const (
)

const (
defaultKubernetesVersion = "1.29.8"
defaultKubernetesVersion = "1.29.9"
awsDefaultKubernetesVersion = "1.26.12"
defaultContainerRuntime = "containerd"
)
Expand Down Expand Up @@ -348,7 +348,7 @@ func TestOpenstackProvisioningE2E(t *testing.T) {
}

// In-tree cloud provider is not supported from Kubernetes v1.26.
selector := And(Not(OsSelector("amzn2")), Not(VersionSelector("1.28.12", "1.29.8", "1.30.4", "1.31.0")))
selector := And(Not(OsSelector("amzn2")), Not(VersionSelector("1.28.14", "1.29.9", "1.30.5", "1.31.1")))
runScenarios(context.Background(), t, selector, params, OSManifest, fmt.Sprintf("os-%s", *testRunIdentifier))
}

Expand Down Expand Up @@ -424,7 +424,7 @@ func TestAWSProvisioningE2E(t *testing.T) {
}

// In-tree cloud provider is not supported from Kubernetes v1.27.
selector := Not(VersionSelector("1.28.12", "1.29.8", "1.30.4", "1.31.0"))
selector := Not(VersionSelector("1.28.14", "1.29.9", "1.30.5", "1.31.1"))

// act
params := []string{fmt.Sprintf("<< AWS_ACCESS_KEY_ID >>=%s", awsKeyID),
Expand Down Expand Up @@ -478,7 +478,7 @@ func TestAWSSpotInstanceProvisioningE2E(t *testing.T) {
}
// Since we are only testing the spot instance functionality, testing it against a single OS is sufficient.
// In-tree cloud provider is not supported from Kubernetes v1.27.
selector := And(OsSelector("ubuntu"), Not(VersionSelector("1.28.12", "1.29.8", "1.30.4", "1.31.0")))
selector := And(OsSelector("ubuntu"), Not(VersionSelector("1.28.14", "1.29.9", "1.30.5", "1.31.1")))

// act
params := []string{fmt.Sprintf("<< AWS_ACCESS_KEY_ID >>=%s", awsKeyID),
Expand All @@ -500,7 +500,7 @@ func TestAWSARMProvisioningE2E(t *testing.T) {
t.Fatal("Unable to run the test suite, AWS_E2E_TESTS_KEY_ID or AWS_E2E_TESTS_SECRET environment variables cannot be empty")
}
// In-tree cloud provider is not supported from Kubernetes v1.27.
selector := And(OsSelector("ubuntu"), Not(VersionSelector("1.28.12", "1.29.8", "1.30.4", "1.31.0")))
selector := And(OsSelector("ubuntu"), Not(VersionSelector("1.28.14", "1.29.9", "1.30.5", "1.31.1")))

// act
params := []string{fmt.Sprintf("<< AWS_ACCESS_KEY_ID >>=%s", awsKeyID),
Expand Down Expand Up @@ -573,7 +573,7 @@ func TestAzureProvisioningE2E(t *testing.T) {
}

// In-tree cloud provider is not supported from Kubernetes v1.30.
selector := And(Not(OsSelector("amzn2")), Not(VersionSelector("1.30.4", "1.31.0")))
selector := And(Not(OsSelector("amzn2")), Not(VersionSelector("1.30.5", "1.31.1")))

// act
params := []string{
Expand Down Expand Up @@ -602,7 +602,7 @@ func TestAzureCustomImageReferenceProvisioningE2E(t *testing.T) {
}

// In-tree cloud provider is not supported from Kubernetes v1.30.
selector := And(OsSelector("ubuntu"), Not(VersionSelector("1.30.4", "1.31.0")))
selector := And(OsSelector("ubuntu"), Not(VersionSelector("1.30.5", "1.31.1")))
// act
params := []string{
fmt.Sprintf("<< AZURE_TENANT_ID >>=%s", azureTenantID),
Expand Down Expand Up @@ -816,7 +816,7 @@ func TestVsphereProvisioningE2E(t *testing.T) {
t.Parallel()

// In-tree cloud provider is not supported from Kubernetes v1.30.
selector := And(OsSelector("ubuntu"), Not(VersionSelector("1.30.4", "1.31.0")))
selector := And(OsSelector("ubuntu"), Not(VersionSelector("1.30.5", "1.31.1")))
params := getVSphereTestParams(t)

runScenarios(context.Background(), t, selector, params, VSPhereManifest, fmt.Sprintf("vs-%s", *testRunIdentifier))
Expand All @@ -828,7 +828,7 @@ func TestVsphereMultipleNICProvisioningE2E(t *testing.T) {
t.Parallel()

// In-tree cloud provider is not supported from Kubernetes v1.30.
selector := And(OsSelector("ubuntu"), Not(VersionSelector("1.30.4", "1.31.0")))
selector := And(OsSelector("ubuntu"), Not(VersionSelector("1.30.5", "1.31.1")))
params := getVSphereTestParams(t)

runScenarios(context.Background(), t, selector, params, VSPhereMultipleNICManifest, fmt.Sprintf("vs-%s", *testRunIdentifier))
Expand Down Expand Up @@ -857,7 +857,7 @@ func TestVsphereDatastoreClusterProvisioningE2E(t *testing.T) {
t.Parallel()

// In-tree cloud provider is not supported from Kubernetes v1.30.
selector := And(OsSelector("ubuntu", "rhel", "flatcar"), Not(VersionSelector("1.30.4", "1.31.0")))
selector := And(OsSelector("ubuntu", "rhel", "flatcar"), Not(VersionSelector("1.30.5", "1.31.1")))

params := getVSphereTestParams(t)
runScenarios(context.Background(), t, selector, params, VSPhereDSCManifest, fmt.Sprintf("vs-dsc-%s", *testRunIdentifier))
Expand Down
8 changes: 4 additions & 4 deletions test/e2e/provisioning/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ var (
scenarios = buildScenarios()

versions = []*semver.Version{
semver.MustParse("v1.28.12"),
semver.MustParse("v1.29.8"),
semver.MustParse("v1.30.4"),
semver.MustParse("v1.31.0"),
semver.MustParse("v1.28.14"),
semver.MustParse("v1.29.9"),
semver.MustParse("v1.30.5"),
semver.MustParse("v1.31.1"),
}

operatingSystems = []providerconfigtypes.OperatingSystem{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ spec:
rhelOrganizationName: ""
rhelActivationKey: ""
versions:
kubelet: 1.29.8
kubelet: 1.29.9

0 comments on commit 95ee8c0

Please sign in to comment.