fix: add imagePullSecrets to argo-events#1794
Merged
Merged
Conversation
We used to have that in undercloud-deploy but was removed in 834fdb34d845f8276eeec73de80f2debab23e8ea. Without this, the argo workflows are not able to pull the images: ``` Normal BackOff 2m33s (x2539 over 9h) kubelet Back-off pulling image "ghcr.io/rss-engineering/undercloud-nautobot/ansible:latest" Warning Failed 2m33s (x2539 over 9h) kubelet Error: ImagePullBackOff ``` ``` Mar 11 11:17:24 infra1 kubelet[1313545]: E0311 11:17:24.305694 1313545 pod_workers.go:1301] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"main\" with ImagePullBackOff: \"Back-off pulling image \\\"ghcr.io/rss-engineering/undercloud-nautobot/ansible:latest\\\": ErrImagePull: failed to pull and unpack image \\\"ghcr.io/rss-engineering/undercloud-nautobot/ansible:latest\\\": failed to resolve reference \\\"ghcr.io/rss-engineering/undercloud-nautobot/ansible:latest\\\": failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://ghcr.io/token?scope=repository%3Arss-engineering%2Fundercloud-nautobot%2Fansible%3Apull&service=ghcr.io: 401 Unauthorized\"" pod="argo-events/nova-delete-tcr72-ansible-run-3671246348" podUID="bcf50140-0467-4583-96cc-3fe3f5c41fac" ```
haseebsyed12
approved these changes
Mar 11, 2026
abhimanyu003
approved these changes
Mar 11, 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.
We used to have that in undercloud-deploy but was removed in 834fdb34d845f8276eeec73de80f2debab23e8ea. Without this, the argo workflows are not able to pull the images: