Open thinkbiggerltd opened 4 months ago
Hello! Thank you for filing an issue.
The maintainers will triage your issue shortly.
In the meantime, please take a look at the troubleshooting guide for bug reports.
If this is a feature request, please review our contribution guidelines.
@thinkbiggerltd Think you need to add imagePullSecrets
to your spec
template:
spec:
imagePullSecrets:
- name: your-secret-name
containers:
- name: runner
image: ghcr.io/<my-org>/gha-runners:latest
command: ["/home/runner/run.sh"]
@thinkbiggerltd Think you need to add
imagePullSecrets
to your spectemplate: spec: imagePullSecrets: - name: your-secret-name containers: - name: runner image: ghcr.io/<my-org>/gha-runners:latest command: ["/home/runner/run.sh"]
Thanks, this worked for me 👍
An update: even though runner pods themselves are coming up with the imagePullSecrets
applied, when I set container.image
in a workflow, the resulting pod doesn't have imagePullSecrets
set
Checks
Controller Version
0.9.3
Deployment Method
Helm
Checks
To Reproduce
Describe the bug
Getting an image pull error when pulling image. I have tested making the image public and it works but obviously need it to be private. I have also tested pulling images in other deployments using the same key and I do not see the issue.
Describe the expected behavior
Issue is down to the assignment of the secret key for pulling packages.
Additional Context
Controller Logs
Runner Pod Logs