fix: kube-rbac-proxy defunct registry fix and dynamic-link library fix#379
Merged
fix: kube-rbac-proxy defunct registry fix and dynamic-link library fix#379
Conversation
Fetch kube-rbac-proxy image from docker.io, as grc.io has stopped hosting it. Signed-off-by: Rich Scott <richscott@sent.com>
This fixes the recent issue where running the container results in an `exec /armada-operator: no such file or directory` error. Signed-off-by: Rich Scott <richscott@sent.com>
Revert back to using `scratch` image base, and don't add libc6-compat package, but instead just build a static armada-operator binary. Signed-off-by: Rich Scott <richscott@sent.com>
nikola-jokic
approved these changes
Mar 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
These changes fix two issues that cause the creation failure of a local cluster by the
kind-allMake target.gcr.ioregistry no longer hosts thekube-rbac-proxy:v0.16.0image (that registry appears to have other, much older versions but not this one, nor any newer/higher version) - the two mentions of this image have been replaced by usingdocker.ioinstead./armada-operator: not found. After some research and testing, I verified that/armada-operatorwas indeed there, had correct permissions, etc. Replacing thescratchimage base withalpine, then manually running a shell to attempt to run/armada-operatoralso failed with the same message.Some more online research yielded a possible solution of changing the Dockerfile for the image with:
This is due to the MUSL libc implementation being incompatible with the GNU libc implementation that most full-sized Linux systems have (e.g. Ubuntu). This did fix the problem, however it seemed like more of a change than would be preferred. I then reverted to using the
scratchimage, and instead changed the compilation to make a statically-linked binary:This then worked correctly. All unit and integration tests passed, and
make build docker-build kind-all-devsuccessfully builds and starts a functioning Armada cluster again. There are no user-visible changes with this PR.Fixes #378
Type of change
Please select the type of change your PR introduces:
How Has This Been Tested?
make test-unit,make test-integration,make build docker-build kind-all-devall succeeded.Test Configuration:
Test Steps:
make test-unitmake test-integrationmake build docker-build kind-all-dev, then verify all the expected Armada K8s pods are running, e.g.kubectl get pods -A.Checklist: