SBOM tab should not exist when the artifact is oci-compliant helm-chart
zyyw opened this issue · comments
How to reproduce?
- git clone -b 1.14.0 https://github.com/goharbor/harbor-helm.git
- mkdir temp && cd temp && helm package ../harbor-helm
- you will see there is a chart file, such as
harbor-1.14.2.tgz
being generated - deploy Harbor with the latest build
- navigate to harbor portal and create a project named as
oci-charts
helm login registry <harbor-endpoint>
helm push harbor-1.14.2.tgz oci://<harbor-endpoint>/oci-charts
- the oci-compliant chart will be uploaded to harbor, but the
SBOM
tab should NOT be there
![Screenshot 2024-06-03 at 3 39 05 PM](https://private-user-images.githubusercontent.com/6709992/335982331-506c258f-3f88-430b-a719-9594d556ec0f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwMzAyNzMsIm5iZiI6MTcyMjAyOTk3MywicGF0aCI6Ii82NzA5OTkyLzMzNTk4MjMzMS01MDZjMjU4Zi0zZjg4LTQzMGItYTcxOS05NTk0ZDU1NmVjMGYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjZUMjEzOTMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MmVlMDIwODVlOWI0ZGVhMWVmMWI3M2Q3YzM1ZDdjMGI0N2FkNWE4Nzk3YjdkZWIxYTBkNDdlY2ZlYmY5OTE0MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.W_ZzhSXGXiYqXxJQEHnzkT5PK_Nfysc7n970h870BBk)