Currently the build service is not working correctly under lima-kilo setup.
The current status is that the builds-builder is unable to verify access to harbor during the analyze step:
step-analyze: 2023-09-27T09:04:22.406397284Z ERROR: failed to initialize analyzer: validating registry read access: ensure registry read access to 172.19.0.1/tool-tf-test/tool-tf-test:latest step-analyze:
There's several moving parts:
- This so far has only been tested outside lima-kilo, using the installer and configuration in the builds-builder repository (so it seems it has never worked inside lima-kilo deployed harbor)
- There is two secrets that are relevant:
- basic-user-pass -> http user and password for tekton, deployed always
- dockerconfig -> docker configuration to setup insecure registries, as we use http harbor (due to the lifecycle image not supporting self-signed certificates)
- The current lima-kilo setup deploys harbor in a non-standard port (8080), and the builds-builder and builds-api charts don't have a way to specify it (as it has not been needed yet)
- The current lima-kilo setup is using vagrant to start a VM, where everything else is installed