Issues

Select view

Select search mode

 
50 of 53

Fix the detection of newest GKE version in pipelines

Done

Description

the command:
gcloud container get-server-config --region=$region --flatten=channels --filter='channels.channel=$GKE_RELEASE_CHANNEL' --format='value(channels.defaultVersion)' | cut -d- -f1

only captures the defaultVersion under the $GKE_RELEASE_CHANNEL channel, but not the highest available version.
we must use this command instead:
gcloud container get-server-config --region=$region --flatten=channels --filter='channels.channel=$GKE_RELEASE_CHANNEL' --format='value(channels.validVersions)' | cut -d- -f1

Environment

None

Details

Assignee

Reporter

Needs QA

Yes

Components

Priority

Smart Checklist

Created February 11, 2025 at 9:23 AM
Updated February 11, 2025 at 8:11 PM
Resolved February 11, 2025 at 8:11 PM

Activity

Show:
Loading...