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

fix: validate Package images #4370

Merged
merged 2 commits into from
Jul 25, 2023

Conversation

phisco
Copy link
Contributor

@phisco phisco commented Jul 24, 2023

Description of your changes

Validates package images on first pull, either only the annotated layer if found, or the whole image otherwise.
This ensures images have not been tampered with.
Had to disable one test case because of an upstream bug, 2c3db49 can be reverted when google/go-containerregistry#1758 or an equivalent fix is merged upstream.

I have:

  • Read and followed Crossplane's contribution process.
  • Added or updated unit and E2E tests for my change.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
@phisco phisco requested review from jbw976 and turkenh July 24, 2023 17:28
@phisco phisco requested review from a team and hasheddan as code owners July 24, 2023 17:28
@phisco phisco changed the title Fix/validate package images fix: validate Package images Jul 24, 2023
@jbw976 jbw976 added this to the v1.13 milestone Jul 25, 2023
@phisco phisco merged commit 679d85d into crossplane:master Jul 25, 2023
16 checks passed
@github-actions
Copy link

Successfully created backport PR for release-1.11:

@github-actions
Copy link

Successfully created backport PR for release-1.12:

@github-actions
Copy link

Successfully created backport PR for release-1.13:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants