Skip to content

Commit 6c68d44

Browse files
prezhapavansaikrishna78
authored andcommitted
fix: update kubeadm images (kubernetes#21277)
1 parent 3cb1b94 commit 6c68d44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/update/kubeadm_constants/kubeadm_constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func getKubeadmImagesMapString(version string) (string, error) {
120120
}
121121

122122
kubeadmCommand := fmt.Sprintf("./%s", fileName)
123-
args := []string{"config", "images", "list"}
123+
args := []string{"config", "images", "list", "--kubernetes-version", version}
124124
imageListString, err := executeCommand(kubeadmCommand, args...)
125125
if err != nil {
126126
klog.Errorf("failed to execute kubeadm command %s", kubeadmCommand)

0 commit comments

Comments
 (0)