-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to determine artifact digest when creating ocirepository resource #1673
Comments
In an OCIRepository resource you can use |
Thanks for commenting. in my opinion if its a problem with the certificate licensing then the HelmRepository kind(working one show in previous comment) should also report an error which is not the case. please advise if there is alternate approach apiVersion: source.toolkit.fluxcd.io/v1beta2 apiVersion: v1 |
The config you posted will not work, you need to follow the docs and use |
Thank you. will check by setting the full URI and .semver |
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
The text was updated successfully, but these errors were encountered: