Skip to content

Commit

Permalink
chore: support cloud controller manager v1.27.9 and cloud node manage…
Browse files Browse the repository at this point in the history
  • Loading branch information
christinalau0 committed Oct 9, 2023
1 parent e38424a commit 925f1fd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
4 changes: 2 additions & 2 deletions pkg/api/k8s_versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -791,8 +791,8 @@ func getK8sVersionComponents(version, kubernetesImageBaseType string, overrides
common.ControllerManagerComponentName: getDefaultImage(common.ControllerManagerComponentName, kubernetesImageBaseType) + ":v" + version,
common.KubeProxyAddonName: getDefaultImage(common.KubeProxyAddonName, kubernetesImageBaseType) + ":v" + version,
common.SchedulerComponentName: getDefaultImage(common.SchedulerComponentName, kubernetesImageBaseType) + ":v" + version,
common.CloudControllerManagerComponentName: "oss/kubernetes/azure-cloud-controller-manager:v1.26.10",
common.CloudNodeManagerAddonName: "oss/kubernetes/azure-cloud-node-manager:v1.26.10",
common.CloudControllerManagerComponentName: "oss/kubernetes/azure-cloud-controller-manager:v1.27.9",
common.CloudNodeManagerAddonName: "oss/kubernetes/azure-cloud-node-manager:v1.27.4",
common.WindowsArtifactComponentName: "v" + version + "/windowszip/v" + version + "-1int.zip",
common.WindowsArtifactAzureStackComponentName: "v" + version + "/windowszip/v" + version + "-1int.zip",
common.DashboardAddonName: dashboardImageReference,
Expand Down
2 changes: 1 addition & 1 deletion vhd/packer/configure-windows-vhd.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ function Get-ContainerImages {
"mcr.microsoft.com/oss/kubernetes/pause:1.4.1",
"mcr.microsoft.com/oss/kubernetes/pause:3.4.1",
"mcr.microsoft.com/oss/kubernetes/pause:3.8",
"mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v1.25.9",
"mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v1.26.10",
"mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v1.27.4",
"mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.10.0",
"mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.10.0-windows-hp",
"mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.26.5",
Expand Down
25 changes: 17 additions & 8 deletions vhd/packer/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -224,16 +224,25 @@ for KUBERNETES_VERSION in ${K8S_VERSIONS}; do
done

# Starting with 1.16 we pull cloud-controller-manager and cloud-node-manager
CLOUD_MANAGER_VERSIONS="
CLOUD_CONTROLLER_MANAGER_VERSIONS="
1.27.9
1.26.10
1.25.9
"
for CLOUD_MANAGER_VERSION in ${CLOUD_MANAGER_VERSIONS}; do
for COMPONENT in azure-cloud-controller-manager azure-cloud-node-manager; do
CONTAINER_IMAGE="mcr.microsoft.com/oss/kubernetes/${COMPONENT}:v${CLOUD_MANAGER_VERSION}"
loadContainerImage ${CONTAINER_IMAGE}
echo " - ${CONTAINER_IMAGE}" >> ${VHD_LOGS_FILEPATH}
done
for CLOUD_CONTROLLER_MANAGER_VERSION in ${CLOUD_CONTROLLER_MANAGER_VERSIONS}; do
CONTAINER_IMAGE="mcr.microsoft.com/oss/kubernetes/azure-cloud-controller-manager:v${CLOUD_CONTROLLER_MANAGER_VERSION}"
loadContainerImage ${CONTAINER_IMAGE}
echo " - ${CONTAINER_IMAGE}" >> ${VHD_LOGS_FILEPATH}
done

# Starting with 1.16 we pull cloud-controller-manager and cloud-node-manager
CLOUD_NODE_MANAGER_VERSIONS="
1.27.4
1.26.10
"
for CLOUD_NODE_MANAGER_VERSION in ${CLOUD_NODE_MANAGER_VERSIONS}; do
CONTAINER_IMAGE="mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager:v${CLOUD_NODE_MANAGER_VERSION}"
loadContainerImage ${CONTAINER_IMAGE}
echo " - ${CONTAINER_IMAGE}" >> ${VHD_LOGS_FILEPATH}
done

AZUREDISK_CSI_VERSIONS="
Expand Down

0 comments on commit 925f1fd

Please sign in to comment.