# package-repository.yml generated by kctrl pkg repo release should have version instead of sha url. ###### tags: `kctrl` ## Problem Statement As of today, `package-repository.yml` file reference the repo bundle with sha url instead of version. When you deploy this file and get the pkg repo status, url is mentioned with sha url instead of url which is not human readable. ## Observation and findings User also wants to add the sha digest to the file so that all the information can be available in a single file. ## Possible Approach 1. Add the `sha` as metadata annotation to the file. e.g. ``` apiVersion: packaging.carvel.dev/v1alpha1 kind: PackageRepository metadata: creationTimestamp: "2022-10-03T07:59:31Z" name: sample-repo.carvel.dev annotations: sha-digest: sha256:702074383ece6f8085a05dff552b311f5f46e77703540b7500e1ecc0c5dac507 spec: fetch: imgpkgBundle: image: index.docker.io/rohitagg2020/demo-repo-bundle:1.0.0 status: conditions: null friendlyDescription: "" observedGeneration: 0 ``` 3. Do not add it.