Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use prerelease info when looking up conformance image #978

Merged
merged 1 commit into from
Oct 25, 2019
Merged

Use prerelease info when looking up conformance image #978

merged 1 commit into from
Oct 25, 2019

Conversation

johnSchnake
Copy link
Contributor

What this PR does / why we need it:
Upstream publishes prerelease images so there is no need to throw
that info away. It is a remnant of Heptio publishing their own
images.

In addition, if we're using that info we dont need to warn about
the existence of prerelease info and never really needed to warn
about the metadata on the version. As a result we can remove that
entire warning check/log.

Which issue(s) this PR fixes
Fixes #976
Fixes #977

Special notes for your reviewer:

Release note:

Sonobuoy will now utilize the prerelease info from the server version when looking up the conformance image. This means that if your cluster is version v1.17.0-beta.0 it will look up that exact version (which the upstream publishes currently). It continues to ignore metadata (e.g. for v1.17.0-beta.0+otherdata the "+otherdata" is dropped to be consistent with current image publishing practice).

@johnSchnake johnSchnake requested a review from zubron October 25, 2019 16:53
Upstream publishes prerelease images so there is no need to throw
that info away. It is a remnant of Heptio publishing their own
images.

In addition, if we're using that info we dont need to warn about
the existence of prerelease info and never really needed to warn
about the metadata on the version. As a result we can remove that
entire warning check/log.

Fixes #976
Fixes #977

Signed-off-by: John Schnake <[email protected]>
@johnSchnake johnSchnake merged commit 871ba62 into vmware-tanzu:master Oct 25, 2019
@johnSchnake johnSchnake deleted the metadataIsOK branch October 25, 2019 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants