Closed errordeveloper closed 3 years ago
So the error could be returned from here:
https://github.com/operator-framework/api/blob/v0.5.3/pkg/validation/internal/csv.go#L35-L37
https://github.com/operator-framework/api/blob/v0.5.3/pkg/validation/internal/csv.go#L52-L57
Note Operator SDK 1.4.0 is used at present, which use API package v0.5.3.
But this doesn't look quite right, as the formatting would differ....
Ah, looks like Dockerfile linked above is not representative and even older version of the SDK is used.
This validation check has actually been removed: https://github.com/operator-framework/api/commit/ac177123d749ce2128ff4258d101c898d936dad2
From a quick test, it looks like prepending a any non-numeric character should pass.
It's possible that this test always been there, the issue is to do with the leading zero...
This has failed for 1.9.7: