kapp-controller
kapp-controller copied to clipboard
Update image with ver instead of sha in package-repository.yml
Update image with ver instead of sha in package-repository.yml
What this PR does / why we need it:
Package-repository.yml file created by the pkg repo release command has sha digest as a tag for the pkg repo bundle. When we kapp deploy or kubectl apply this file and list the available repository on the cluster, we see the tag as sha-digest rather than human readable tag.
This PR adds the version as the tag rather than sha-digest. Also, it adds the sha-digest as metadata annotation.
Which issue(s) this PR fixes:
#874
Fixes #
Does this PR introduce a user-facing change?
Additional Notes for your reviewer:
Review Checklist:
- [ ] Follows the developer guidelines
- [ ] Relevant tests are added or updated
- [ ] Relevant docs in this repo added or updated
- [ ] Relevant carvel.dev docs added or updated in a separate PR and there's a link to that PR
- [ ] Code is at least as readable and maintainable as it was before this change
Additional documentation e.g., Proposal, usage docs, etc.: