Skip to content

Commit 7cf4494

Browse files
committed
Relax image version check (#922)
(cherry picked from commit 615a498)
1 parent 4ed95d6 commit 7cf4494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/types/clusterconfig/clusterconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ func validateImageVersion(image string) (string, error) {
419419
tag = "latest"
420420
}
421421

422-
if tag != consts.CortexVersion {
422+
if !strings.HasPrefix(tag, consts.CortexVersion) {
423423
return "", ErrorImageVersionMismatch(image, tag)
424424
}
425425

0 commit comments

Comments
 (0)