deps: support Kubernetes 1.28 (#2242)

This commit is contained in:
3u13r 2023-08-18 11:13:24 +02:00 committed by GitHub
parent 38dcb3dbab
commit 8325f99b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 134 additions and 129 deletions

View File

@ -45,7 +45,7 @@ jobs:
fail-fast: false fail-fast: false
max-parallel: 5 max-parallel: 5
matrix: matrix:
kubernetesVersion: ["1.26"] # should be default kubernetesVersion: ["1.27"] # should be default
provider: ["gcp", "azure", "aws"] provider: ["gcp", "azure", "aws"]
refStream: ["ref/main/stream/debug/?", "ref/release/stream/stable/?"] refStream: ["ref/main/stream/debug/?", "ref/release/stream/stable/?"]
test: ["sonobuoy full"] test: ["sonobuoy full"]

View File

@ -38,7 +38,7 @@ on:
required: true required: true
kubernetesVersion: kubernetesVersion:
description: "Kubernetes version to create the cluster from." description: "Kubernetes version to create the cluster from."
default: "1.26" default: "1.27"
required: true required: true
cliVersion: cliVersion:
description: "Version of a released CLI to download. Leave empty to build the CLI from the checked out ref." description: "Version of a released CLI to download. Leave empty to build the CLI from the checked out ref."

View File

@ -45,6 +45,20 @@ jobs:
# #
# sonobuoy full test on all k8s versions # sonobuoy full test on all k8s versions
- test: "sonobuoy full"
provider: "gcp"
kubernetes-version: "v1.28"
runner: "ubuntu-22.04"
- test: "sonobuoy full"
provider: "azure"
kubernetes-version: "v1.28"
runner: "ubuntu-22.04"
- test: "sonobuoy full"
provider: "aws"
kubernetes-version: "v1.28"
runner: "ubuntu-22.04"
- test: "sonobuoy full" - test: "sonobuoy full"
provider: "gcp" provider: "gcp"
kubernetes-version: "v1.27" kubernetes-version: "v1.27"
@ -71,83 +85,70 @@ jobs:
kubernetes-version: "v1.26" kubernetes-version: "v1.26"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
- test: "sonobuoy full"
provider: "gcp"
kubernetes-version: "v1.25"
runner: "ubuntu-22.04"
- test: "sonobuoy full"
provider: "azure"
kubernetes-version: "v1.25"
runner: "ubuntu-22.04"
- test: "sonobuoy full"
provider: "aws"
kubernetes-version: "v1.25"
runner: "ubuntu-22.04"
# verify test on latest k8s version # verify test on latest k8s version
- test: "verify" - test: "verify"
provider: "gcp" provider: "gcp"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
- test: "verify" - test: "verify"
provider: "azure" provider: "azure"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
- test: "verify" - test: "verify"
provider: "aws" provider: "aws"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
# recover test on latest k8s version # recover test on latest k8s version
- test: "recover" - test: "recover"
provider: "gcp" provider: "gcp"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
- test: "recover" - test: "recover"
provider: "azure" provider: "azure"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
- test: "recover" - test: "recover"
provider: "aws" provider: "aws"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
# lb test on latest k8s version # lb test on latest k8s version
- test: "lb" - test: "lb"
provider: "gcp" provider: "gcp"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
- test: "lb" - test: "lb"
provider: "azure" provider: "azure"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
- test: "lb" - test: "lb"
provider: "aws" provider: "aws"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
# autoscaling test on latest k8s version, not supported on AWS # autoscaling test on latest k8s version
- test: "autoscaling" - test: "autoscaling"
provider: "gcp" provider: "gcp"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
- test: "autoscaling" - test: "autoscaling"
provider: "azure" provider: "azure"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
- test: "autoscaling" - test: "autoscaling"
provider: "aws" provider: "aws"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
# perf-bench test on latest k8s version, not supported on AWS # perf-bench test on latest k8s version, not supported on AWS
- test: "perf-bench" - test: "perf-bench"
provider: "gcp" provider: "gcp"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
- test: "perf-bench" - test: "perf-bench"
provider: "azure" provider: "azure"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
runner: "ubuntu-22.04" runner: "ubuntu-22.04"
# #
@ -155,11 +156,11 @@ jobs:
# #
- test: "verify" - test: "verify"
provider: "azure" provider: "azure"
kubernetes-version: "v1.26" kubernetes-version: "v1.28"
runner: "macos-12" runner: "macos-12"
- test: "recover" - test: "recover"
provider: "gcp" provider: "gcp"
kubernetes-version: "v1.26" kubernetes-version: "v1.28"
runner: "macos-12" runner: "macos-12"
runs-on: ${{ matrix.runner }} runs-on: ${{ matrix.runner }}
permissions: permissions:

View File

@ -51,6 +51,19 @@ jobs:
# #
# sonobuoy full test on all k8s versions # sonobuoy full test on all k8s versions
- test: "sonobuoy full"
refStream: "ref/main/stream/debug/?"
provider: "gcp"
kubernetes-version: "v1.28"
- test: "sonobuoy full"
refStream: "ref/main/stream/debug/?"
provider: "azure"
kubernetes-version: "v1.28"
- test: "sonobuoy full"
refStream: "ref/main/stream/debug/?"
provider: "aws"
kubernetes-version: "v1.28"
- test: "sonobuoy full" - test: "sonobuoy full"
refStream: "ref/main/stream/debug/?" refStream: "ref/main/stream/debug/?"
provider: "gcp" provider: "gcp"
@ -77,81 +90,72 @@ jobs:
provider: "aws" provider: "aws"
kubernetes-version: "v1.26" kubernetes-version: "v1.26"
- test: "sonobuoy full"
refStream: "ref/main/stream/debug/?"
provider: "gcp"
kubernetes-version: "v1.25"
- test: "sonobuoy full"
refStream: "ref/main/stream/debug/?"
provider: "azure"
kubernetes-version: "v1.25"
- test: "sonobuoy full"
refStream: "ref/main/stream/debug/?"
provider: "aws"
kubernetes-version: "v1.25"
# verify test on latest k8s version # verify test on latest k8s version
- test: "verify" - test: "verify"
refStream: "ref/main/stream/debug/?" refStream: "ref/main/stream/debug/?"
provider: "gcp" provider: "gcp"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
- test: "verify" - test: "verify"
refStream: "ref/main/stream/debug/?" refStream: "ref/main/stream/debug/?"
provider: "azure" provider: "azure"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
azureSNPEnforcementPolicy: "equal" # This run checks for unknown ID Key disgests. azureSNPEnforcementPolicy: "equal" # This run checks for unknown ID Key disgests.
- test: "verify" - test: "verify"
provider: "aws" provider: "aws"
refStream: "ref/main/stream/debug/?" refStream: "ref/main/stream/debug/?"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
# recover test on latest k8s version # recover test on latest k8s version
- test: "recover" - test: "recover"
refStream: "ref/main/stream/debug/?" refStream: "ref/main/stream/debug/?"
provider: "gcp" provider: "gcp"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
- test: "recover" - test: "recover"
refStream: "ref/main/stream/debug/?" refStream: "ref/main/stream/debug/?"
provider: "azure" provider: "azure"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
- test: "recover" - test: "recover"
refStream: "ref/main/stream/debug/?" refStream: "ref/main/stream/debug/?"
provider: "aws" provider: "aws"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
# lb test on latest k8s version # lb test on latest k8s version
- test: "lb" - test: "lb"
refStream: "ref/main/stream/debug/?" refStream: "ref/main/stream/debug/?"
provider: "gcp" provider: "gcp"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
- test: "lb" - test: "lb"
refStream: "ref/main/stream/debug/?" refStream: "ref/main/stream/debug/?"
provider: "azure" provider: "azure"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
- test: "lb" - test: "lb"
refStream: "ref/main/stream/debug/?" refStream: "ref/main/stream/debug/?"
provider: "aws" provider: "aws"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
# autoscaling test on latest k8s version, not supported on AWS # autoscaling test on latest k8s version
- test: "autoscaling" - test: "autoscaling"
refStream: "ref/main/stream/debug/?" refStream: "ref/main/stream/debug/?"
provider: "gcp" provider: "gcp"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
- test: "autoscaling" - test: "autoscaling"
refStream: "ref/main/stream/debug/?" refStream: "ref/main/stream/debug/?"
provider: "azure" provider: "azure"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
- test: "autoscaling"
refStream: "ref/main/stream/debug/?"
provider: "aws"
kubernetes-version: "v1.28"
# perf-bench test on latest k8s version, not supported on AWS # perf-bench test on latest k8s version, not supported on AWS
- test: "perf-bench" - test: "perf-bench"
refStream: "ref/main/stream/debug/?" refStream: "ref/main/stream/debug/?"
provider: "gcp" provider: "gcp"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
- test: "perf-bench" - test: "perf-bench"
refStream: "ref/main/stream/debug/?" refStream: "ref/main/stream/debug/?"
provider: "azure" provider: "azure"
kubernetes-version: "v1.27" kubernetes-version: "v1.28"
# #
# Tests on release-stable refStream # Tests on release-stable refStream
@ -161,15 +165,15 @@ jobs:
- test: "verify" - test: "verify"
refStream: "ref/release/stream/stable/?" refStream: "ref/release/stream/stable/?"
provider: "gcp" provider: "gcp"
kubernetes-version: "v1.26" kubernetes-version: "v1.27"
- test: "verify" - test: "verify"
refStream: "ref/release/stream/stable/?" refStream: "ref/release/stream/stable/?"
provider: "azure" provider: "azure"
kubernetes-version: "v1.26" kubernetes-version: "v1.27"
- test: "verify" - test: "verify"
refStream: "ref/release/stream/stable/?" refStream: "ref/release/stream/stable/?"
provider: "aws" provider: "aws"
kubernetes-version: "v1.26" kubernetes-version: "v1.27"
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
permissions: permissions:
id-token: write id-token: write

View File

@ -79,7 +79,7 @@ constellation config generate {aws|azure|gcp|openstack|qemu|stackit} [flags]
``` ```
-a, --attestation string attestation variant to use {aws-sev-snp|aws-nitro-tpm|azure-sev-snp|azure-trustedlaunch|gcp-sev-es|qemu-vtpm}. If not specified, the default for the cloud provider is used -a, --attestation string attestation variant to use {aws-sev-snp|aws-nitro-tpm|azure-sev-snp|azure-trustedlaunch|gcp-sev-es|qemu-vtpm}. If not specified, the default for the cloud provider is used
-h, --help help for generate -h, --help help for generate
-k, --kubernetes string Kubernetes version to use in format MAJOR.MINOR (default "v1.26") -k, --kubernetes string Kubernetes version to use in format MAJOR.MINOR (default "v1.27")
``` ```
### Options inherited from parent commands ### Options inherited from parent commands

View File

@ -642,12 +642,12 @@ func (c *Config) validateK8sVersion(fl validator.FieldLevel) bool {
// supported patch version as PATCH. // supported patch version as PATCH.
func K8sVersionFromMajorMinor(version string) string { func K8sVersionFromMajorMinor(version string) string {
switch version { switch version {
case semver.MajorMinor(string(versions.V1_25)):
return string(versions.V1_25)
case semver.MajorMinor(string(versions.V1_26)): case semver.MajorMinor(string(versions.V1_26)):
return string(versions.V1_26) return string(versions.V1_26)
case semver.MajorMinor(string(versions.V1_27)): case semver.MajorMinor(string(versions.V1_27)):
return string(versions.V1_27) return string(versions.V1_27)
case semver.MajorMinor(string(versions.V1_28)):
return string(versions.V1_28)
default: default:
return "" return ""
} }

View File

@ -119,14 +119,14 @@ const (
// currently supported versions. // currently supported versions.
//nolint:revive //nolint:revive
V1_25 ValidK8sVersion = "v1.25.12" // renovate:kubernetes-release
//nolint:revive
V1_26 ValidK8sVersion = "v1.26.7" // renovate:kubernetes-release V1_26 ValidK8sVersion = "v1.26.7" // renovate:kubernetes-release
//nolint:revive //nolint:revive
V1_27 ValidK8sVersion = "v1.27.4" // renovate:kubernetes-release V1_27 ValidK8sVersion = "v1.27.4" // renovate:kubernetes-release
//nolint:revive
V1_28 ValidK8sVersion = "v1.28.0" // renovate:kubernetes-release
// Default k8s version deployed by Constellation. // Default k8s version deployed by Constellation.
Default ValidK8sVersion = V1_26 Default ValidK8sVersion = V1_27
) )
// Regenerate the hashes by running go generate. // Regenerate the hashes by running go generate.
@ -135,69 +135,18 @@ const (
// VersionConfigs holds download URLs for all required kubernetes components for every supported version. // VersionConfigs holds download URLs for all required kubernetes components for every supported version.
var VersionConfigs = map[ValidK8sVersion]KubernetesVersion{ var VersionConfigs = map[ValidK8sVersion]KubernetesVersion{
V1_25: {
ClusterVersion: "v1.25.12", // renovate:kubernetes-release
KubernetesComponents: components.Components{
{
URL: "https://github.com/containernetworking/plugins/releases/download/v1.2.0/cni-plugins-linux-amd64-v1.2.0.tgz", // renovate:cni-plugins-release
Hash: "sha256:f3a841324845ca6bf0d4091b4fc7f97e18a623172158b72fc3fdcdb9d42d2d37",
InstallPath: constants.CniPluginsDir,
Extract: true,
},
{
URL: "https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.27.0/crictl-v1.27.0-linux-amd64.tar.gz", // renovate:crictl-release
Hash: "sha256:d335d6e16c309fbc3ff1a29a7e49bb253b5c9b4b030990bf7c6b48687f985cee",
InstallPath: constants.BinDir,
Extract: true,
},
{
URL: "https://storage.googleapis.com/kubernetes-release/release/v1.25.12/bin/linux/amd64/kubelet", // renovate:kubernetes-release
Hash: "sha256:7aa7d0b4512e6d79ada2017c054b07aaf30d4dc0d740449364a5e2c26e2c1842",
InstallPath: constants.KubeletPath,
Extract: false,
},
{
URL: "https://storage.googleapis.com/kubernetes-release/release/v1.25.12/bin/linux/amd64/kubeadm", // renovate:kubernetes-release
Hash: "sha256:293252f0a1727bfad4ef4fe99d704a56ecea45e39b0ea77f629c55da39e377da",
InstallPath: constants.KubeadmPath,
Extract: false,
},
{
URL: "https://storage.googleapis.com/kubernetes-release/release/v1.25.12/bin/linux/amd64/kubectl", // renovate:kubernetes-release
Hash: "sha256:75842752ea07cb8ee2210df40faa7c61e1317e76d5c7968e380cae83447d4a0f",
InstallPath: constants.KubectlPath,
Extract: false,
},
},
// CloudControllerManagerImageAWS is the CCM image used on AWS.
CloudControllerManagerImageAWS: "registry.k8s.io/provider-aws/cloud-controller-manager:v1.25.3@sha256:47eb1c1e6a3bd6d0fb44ac4992885b6218f1448ea339de778d8b703df463c06f", // renovate:container
// CloudControllerManagerImageAzure is the CCM image used on Azure.
// Check for newer versions at https://github.com/kubernetes-sigs/cloud-provider-azure/blob/master/README.md.
CloudControllerManagerImageAzure: "mcr.microsoft.com/oss/kubernetes/azure-cloud-controller-manager:v1.25.17@sha256:db168815dd1801bbde18e585875c155bece8dd2077514abb91de6ec82bc5e97b", // renovate:container
// CloudNodeManagerImageAzure is the cloud-node-manager image used on Azure.
// Check for newer versions at https://github.com/kubernetes-sigs/cloud-provider-azure/blob/master/README.md.
CloudNodeManagerImageAzure: "mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v1.25.17@sha256:89f7bcf23a7674714103800306b2efd18f8b9f42477c6ac7687a99692adb236d", // renovate:container
// CloudControllerManagerImageGCP is the CCM image used on GCP.
// TODO(3u13r): use newer "cloud-provider-gcp" from https://github.com/kubernetes/cloud-provider-gcp when newer releases are available.
CloudControllerManagerImageGCP: "ghcr.io/edgelesssys/cloud-provider-gcp:v25.2.0@sha256:86fa9d31ed0b3d0d8806f13d6e7debd3471028b2cb7cca3a876d8a31612a7ba5", // renovate:container
// CloudControllerManagerImageOpenStack is the CCM image used on OpenStack.
CloudControllerManagerImageOpenStack: "docker.io/k8scloudprovider/openstack-cloud-controller-manager:v1.25.5", // renovate:container
// External service image. Depends on k8s version.
// Check for new versions at https://github.com/kubernetes/autoscaler/releases.
ClusterAutoscalerImage: "registry.k8s.io/autoscaling/cluster-autoscaler:v1.25.3@sha256:a8c8f3c5e5fc532c37ab9cf5388d0061ecbf78090b91c3d059b09fa3ffd4ac53", // renovate:container
},
V1_26: { V1_26: {
ClusterVersion: "v1.26.7", // renovate:kubernetes-release ClusterVersion: "v1.26.7", // renovate:kubernetes-release
KubernetesComponents: components.Components{ KubernetesComponents: components.Components{
{ {
URL: "https://github.com/containernetworking/plugins/releases/download/v1.2.0/cni-plugins-linux-amd64-v1.2.0.tgz", // renovate:cni-plugins-release URL: "https://github.com/containernetworking/plugins/releases/download/v1.3.0/cni-plugins-linux-amd64-v1.3.0.tgz", // renovate:cni-plugins-release
Hash: "sha256:f3a841324845ca6bf0d4091b4fc7f97e18a623172158b72fc3fdcdb9d42d2d37", Hash: "sha256:754a71ed60a4bd08726c3af705a7d55ee3df03122b12e389fdba4bea35d7dd7e",
InstallPath: constants.CniPluginsDir, InstallPath: constants.CniPluginsDir,
Extract: true, Extract: true,
}, },
{ {
URL: "https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.27.0/crictl-v1.27.0-linux-amd64.tar.gz", // renovate:crictl-release URL: "https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.28.0/crictl-v1.28.0-linux-amd64.tar.gz", // renovate:crictl-release
Hash: "sha256:d335d6e16c309fbc3ff1a29a7e49bb253b5c9b4b030990bf7c6b48687f985cee", Hash: "sha256:8dc78774f7cbeaf787994d386eec663f0a3cf24de1ea4893598096cb39ef2508",
InstallPath: constants.BinDir, InstallPath: constants.BinDir,
Extract: true, Extract: true,
}, },
@ -232,7 +181,7 @@ var VersionConfigs = map[ValidK8sVersion]KubernetesVersion{
// TODO(3u13r): use newer "cloud-provider-gcp" from https://github.com/kubernetes/cloud-provider-gcp when newer releases are available. // TODO(3u13r): use newer "cloud-provider-gcp" from https://github.com/kubernetes/cloud-provider-gcp when newer releases are available.
CloudControllerManagerImageGCP: "ghcr.io/edgelesssys/cloud-provider-gcp:v26.0.1@sha256:db2b15a20ad690784a6015bfad55c4dff15826be8cf9f6ac77d70abd11b1f70c", // renovate:container CloudControllerManagerImageGCP: "ghcr.io/edgelesssys/cloud-provider-gcp:v26.0.1@sha256:db2b15a20ad690784a6015bfad55c4dff15826be8cf9f6ac77d70abd11b1f70c", // renovate:container
// CloudControllerManagerImageOpenStack is the CCM image used on OpenStack. // CloudControllerManagerImageOpenStack is the CCM image used on OpenStack.
CloudControllerManagerImageOpenStack: "docker.io/k8scloudprovider/openstack-cloud-controller-manager:v1.26.2", // renovate:container CloudControllerManagerImageOpenStack: "docker.io/k8scloudprovider/openstack-cloud-controller-manager:v1.26.3@sha256:65f0945ea9fc17e64812befbf3fc52b06c13df1c3407cb8022e8110a2fe08a4a", // renovate:container
// External service image. Depends on k8s version. // External service image. Depends on k8s version.
// Check for new versions at https://github.com/kubernetes/autoscaler/releases. // Check for new versions at https://github.com/kubernetes/autoscaler/releases.
ClusterAutoscalerImage: "registry.k8s.io/autoscaling/cluster-autoscaler:v1.26.4@sha256:f771284ff54ecfedf40c7af70c5450600786c98989aeb69cdcf7e7bb7ac5a20d", // renovate:container ClusterAutoscalerImage: "registry.k8s.io/autoscaling/cluster-autoscaler:v1.26.4@sha256:f771284ff54ecfedf40c7af70c5450600786c98989aeb69cdcf7e7bb7ac5a20d", // renovate:container
@ -241,14 +190,14 @@ var VersionConfigs = map[ValidK8sVersion]KubernetesVersion{
ClusterVersion: "v1.27.4", // renovate:kubernetes-release ClusterVersion: "v1.27.4", // renovate:kubernetes-release
KubernetesComponents: components.Components{ KubernetesComponents: components.Components{
{ {
URL: "https://github.com/containernetworking/plugins/releases/download/v1.2.0/cni-plugins-linux-amd64-v1.2.0.tgz", // renovate:cni-plugins-release URL: "https://github.com/containernetworking/plugins/releases/download/v1.3.0/cni-plugins-linux-amd64-v1.3.0.tgz", // renovate:cni-plugins-release
Hash: "sha256:f3a841324845ca6bf0d4091b4fc7f97e18a623172158b72fc3fdcdb9d42d2d37", Hash: "sha256:754a71ed60a4bd08726c3af705a7d55ee3df03122b12e389fdba4bea35d7dd7e",
InstallPath: constants.CniPluginsDir, InstallPath: constants.CniPluginsDir,
Extract: true, Extract: true,
}, },
{ {
URL: "https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.27.0/crictl-v1.27.0-linux-amd64.tar.gz", // renovate:crictl-release URL: "https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.28.0/crictl-v1.28.0-linux-amd64.tar.gz", // renovate:crictl-release
Hash: "sha256:d335d6e16c309fbc3ff1a29a7e49bb253b5c9b4b030990bf7c6b48687f985cee", Hash: "sha256:8dc78774f7cbeaf787994d386eec663f0a3cf24de1ea4893598096cb39ef2508",
InstallPath: constants.BinDir, InstallPath: constants.BinDir,
Extract: true, Extract: true,
}, },
@ -283,7 +232,58 @@ var VersionConfigs = map[ValidK8sVersion]KubernetesVersion{
// TODO(3u13r): use newer "cloud-provider-gcp" from https://github.com/kubernetes/cloud-provider-gcp when newer releases are available. // TODO(3u13r): use newer "cloud-provider-gcp" from https://github.com/kubernetes/cloud-provider-gcp when newer releases are available.
CloudControllerManagerImageGCP: "ghcr.io/edgelesssys/cloud-provider-gcp:v26.0.1@sha256:db2b15a20ad690784a6015bfad55c4dff15826be8cf9f6ac77d70abd11b1f70c", // renovate:container CloudControllerManagerImageGCP: "ghcr.io/edgelesssys/cloud-provider-gcp:v26.0.1@sha256:db2b15a20ad690784a6015bfad55c4dff15826be8cf9f6ac77d70abd11b1f70c", // renovate:container
// CloudControllerManagerImageOpenStack is the CCM image used on OpenStack. // CloudControllerManagerImageOpenStack is the CCM image used on OpenStack.
CloudControllerManagerImageOpenStack: "docker.io/k8scloudprovider/openstack-cloud-controller-manager:v1.26.2", // renovate:container CloudControllerManagerImageOpenStack: "docker.io/k8scloudprovider/openstack-cloud-controller-manager:v1.26.3@sha256:65f0945ea9fc17e64812befbf3fc52b06c13df1c3407cb8022e8110a2fe08a4a", // renovate:container
// External service image. Depends on k8s version.
// Check for new versions at https://github.com/kubernetes/autoscaler/releases.
ClusterAutoscalerImage: "registry.k8s.io/autoscaling/cluster-autoscaler:v1.27.3@sha256:0e1ab1bfeb1beaa82f59356ef36364503df22aeb8f8d0d7383bac449b4e808fb", // renovate:container
},
V1_28: {
ClusterVersion: "v1.28.0", // renovate:kubernetes-release
KubernetesComponents: components.Components{
{
URL: "https://github.com/containernetworking/plugins/releases/download/v1.3.0/cni-plugins-linux-amd64-v1.3.0.tgz", // renovate:cni-plugins-release
Hash: "sha256:754a71ed60a4bd08726c3af705a7d55ee3df03122b12e389fdba4bea35d7dd7e",
InstallPath: constants.CniPluginsDir,
Extract: true,
},
{
URL: "https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.28.0/crictl-v1.28.0-linux-amd64.tar.gz", // renovate:crictl-release
Hash: "sha256:8dc78774f7cbeaf787994d386eec663f0a3cf24de1ea4893598096cb39ef2508",
InstallPath: constants.BinDir,
Extract: true,
},
{
URL: "https://storage.googleapis.com/kubernetes-release/release/v1.28.0/bin/linux/amd64/kubelet", // renovate:kubernetes-release
Hash: "sha256:bfb6b977100963f2879a33e5fbaa59a5276ba829a957a6819c936e9c1465f981",
InstallPath: constants.KubeletPath,
Extract: false,
},
{
URL: "https://storage.googleapis.com/kubernetes-release/release/v1.28.0/bin/linux/amd64/kubeadm", // renovate:kubernetes-release
Hash: "sha256:12ea68bfef0377ccedc1a7c98a05ea76907decbcf1e1ec858a60a7b9b73211bb",
InstallPath: constants.KubeadmPath,
Extract: false,
},
{
URL: "https://storage.googleapis.com/kubernetes-release/release/v1.28.0/bin/linux/amd64/kubectl", // renovate:kubernetes-release
Hash: "sha256:4717660fd1466ec72d59000bb1d9f5cdc91fac31d491043ca62b34398e0799ce",
InstallPath: constants.KubectlPath,
Extract: false,
},
},
// CloudControllerManagerImageAWS is the CCM image used on AWS.
CloudControllerManagerImageAWS: "registry.k8s.io/provider-aws/cloud-controller-manager:v1.28.0@sha256:47eb1c1e6a3bd6d0fb44ac4992885b6218f1448ea339de778d8b703df463c06f", // renovate:container
// CloudControllerManagerImageAzure is the CCM image used on Azure.
// Check for newer versions at https://github.com/kubernetes-sigs/cloud-provider-azure/blob/master/README.md.
CloudControllerManagerImageAzure: "mcr.microsoft.com/oss/kubernetes/azure-cloud-controller-manager:v1.27.7@sha256:e27c4ddc8b9efdac8509a2f681eaa98152309f6b2f08d14230b11c60a9b8b87f", // renovate:container
// CloudNodeManagerImageAzure is the cloud-node-manager image used on Azure.
// Check for newer versions at https://github.com/kubernetes-sigs/cloud-provider-azure/blob/master/README.md.
CloudNodeManagerImageAzure: "mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v1.27.7@sha256:998453989b03ac6c24e53aabbf271fa181e054b3a061fe6caa565186ae79bd0c", // renovate:container
// CloudControllerManagerImageGCP is the CCM image used on GCP.
// TODO(3u13r): use newer "cloud-provider-gcp" from https://github.com/kubernetes/cloud-provider-gcp when newer releases are available.
CloudControllerManagerImageGCP: "ghcr.io/edgelesssys/cloud-provider-gcp:v26.0.1@sha256:db2b15a20ad690784a6015bfad55c4dff15826be8cf9f6ac77d70abd11b1f70c", // renovate:container
// CloudControllerManagerImageOpenStack is the CCM image used on OpenStack.
CloudControllerManagerImageOpenStack: "docker.io/k8scloudprovider/openstack-cloud-controller-manager:v1.26.3@sha256:65f0945ea9fc17e64812befbf3fc52b06c13df1c3407cb8022e8110a2fe08a4a", // renovate:container
// External service image. Depends on k8s version. // External service image. Depends on k8s version.
// Check for new versions at https://github.com/kubernetes/autoscaler/releases. // Check for new versions at https://github.com/kubernetes/autoscaler/releases.
ClusterAutoscalerImage: "registry.k8s.io/autoscaling/cluster-autoscaler:v1.27.3@sha256:0e1ab1bfeb1beaa82f59356ef36364503df22aeb8f8d0d7383bac449b4e808fb", // renovate:container ClusterAutoscalerImage: "registry.k8s.io/autoscaling/cluster-autoscaler:v1.27.3@sha256:0e1ab1bfeb1beaa82f59356ef36364503df22aeb8f8d0d7383bac449b4e808fb", // renovate:container