-
Notifications
You must be signed in to change notification settings - Fork 214
Description
hi,
can someone assist on creating a resource with kind ocirepository. we run TKG(Vmware Tanzu) and Harbor Registry.
helmrepository resource works, but ocirepo fails with below error on cert . we tried with adding ca.crt/tls.crt/tls.key but that didnt help though
NAME URL READY STATUS
AGE
kj-test oci://harbor.tanzu.com/nginx/mage False failed to determine artifact digest: Get "https://harbor.tanzu.com/v2/": x509: certificate signed by unknown authority; Get "https://harbor.tanzu.com/v2/": x509: certificate signed by unknown authority 2m36s
Not working (ocirepository):
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
name: kj-test
namespace: demo
spec:
interval: 10m
url: oci://harbor.tanzu.com/nginx/mage
working one(HelmRepository):
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: shop
namespace: demo
spec:
type: "oci"
interval: 5m0s
url: oci://harbor.tanzu.com/nginx/mage
NAME URL AGE READY STATUS
shop oci://harbor.tanzu.com/nginx/mage 27h True Helm repository is ready