Skip to content

Commit 615a498

Browse files
authored
Relax image version check (#922)
1 parent 886bdb5 commit 615a498

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)