use 1.23.1 ccm for openstack

This commit is contained in:
Jesse Haka 2022-01-21 12:27:52 +02:00
parent ba837c0680
commit 1df4b80183
1 changed files with 3 additions and 0 deletions

View File

@ -744,6 +744,9 @@ func (tf *TemplateFunctions) OpenStackCCMTag() string {
if parsed.Minor == 13 {
// The bugfix release
tag = "1.13.1"
} else if parsed.Minor == 23 {
// The bugfix release, see https://github.com/kubernetes/cloud-provider-openstack/releases
tag = "1.23.1"
} else {
// otherwise we use always .0 ccm image, if needed that can be overrided using clusterspec
tag = fmt.Sprintf("v%d.%d.0", parsed.Major, parsed.Minor)