Adding support to build provenance and sbom for build images#1166
Adding support to build provenance and sbom for build images#1166visheshtanksale wants to merge 2 commits into
Conversation
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
✅ Deploy Preview for dra-driver-nvidia-gpu ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: visheshtanksale The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@visheshtanksale can we include signed cosign attestations for helm chart artifact too. |
| @@ -0,0 +1,237 @@ | |||
| #!/usr/bin/env bash | |||
There was a problem hiding this comment.
Can you add sample output of these attestations for existing builds in the PR.
There was a problem hiding this comment.
I added the sample slsa provenance and sbom in the PR description
What type of PR is this?
/kind bug
What this PR does / why we need it:
Add support for SLSA provenance and SBOM generation as part of the image build process
Which issue(s) this PR is related to:
Fixes #1105
#1105
Special notes for your reviewer:
Verified that the provenance and SBOM is built works locally. Not sure how to test this with kpromo. Looking at the documentation it looks like this should work with kpromo.
Sample SLSA Provenance
Sample SBOM SPDX
Does this PR introduce a user-facing change?
None
Additional documentation (design docs, usage docs, etc.):
Checklist
make check testpasses locallymake check-generatepasses ifapi/changed (CRDs, deepcopy, informers, listers, clientset)make check-modulespasses ifgo.mod/go.sumchangeddeployments/helm) updated if flags, RBAC, or defaults changed