Closed Skarlso closed 6 months ago
VIOLATION DESCRIPTION | NUMBER OF VIOLATIONS |
---|---|
HIGH/CRITICAL SECURITY VULNERABILITIES | 0 |
MAJOR UPDATES AVAILABLE | 0 |
LICENSE REQUIRES REVIEW | 0 |
LICENSE RISK HIGH | 7 |
RESTRICTIED LICENSE FOR ON-PREMISE DELIVERY | 0 |
The latest ocm version runs into this issue:
adding resource ociImage: "name"="image","version"="6.3.5-static"...
time="2024-03-22T13:33:09Z" level=info msg="trying next host" error="failed to do request: Head \"[https://gitea.ocm.dev/v2/software-provider/podinfo/manifests/6.3.5-static\](https://gitea.ocm.dev/v2/software-provider/podinfo/manifests/6.3.5-static/)": tls: failed to verify certificate: x509: certificate signed by unknown authority" [host=gitea.ocm.dev](http://host=gitea.ocm.dev/)
Error: failed adding component "[ocm.software/demos/podinfo](http://ocm.software/demos/podinfo)"(componentfile.yaml[1][1]): cannot add resource "image"(componentfile.yaml[1][1][resources][0]): cannot determine digest: failed to do request: Head "https://gitea.ocm.dev/v2/software-provider/podinfo/manifests/6.3.5-static": tls: failed to verify certificate: x509: certificate signed by unknown authority
Meanwhile, ocm v0.3.0 works perfectly fine. I need to figure out what's the problem.
Finally found the error! The build operations wasn't injecting the necessary certificate!
What's left: update the go modules as well. At least those that are referenced for some reason or the other.
Okay, finally found the right frigging configuration of modules to work together. Now I need to test the installation and building process.
Ugh, seems like, I would have to update the test framework and flux and everything and that's just another week worth of updating, I'm not willing to do rn.
Right, going to skip updating the controller versions in MPAS. The builder is going to build the right version and the component will have the right version. To update the code, I would have to update the testing framework first, and update flux version and update every other controller as well again.
Which I'm not going to do now.
Description
So far so go. I'm going through the demo now, and also update the go modules in MPAS.
What type of PR is this? (check all applicable)
Related Tickets & Documents
Screenshots
Added tests?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Added e2e-tests?
Added to documentation?
Checklist: