Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use container name to detect runner container in Pod #1264

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

ekarlso
Copy link
Contributor

@ekarlso ekarlso commented Mar 23, 2022

This switches to instead of using index which is easily breakable if using the sidecar pattern to using the name of "runner" instead ot determine the container inside of the runner Pod.

EDIT by @mumoshu: Note that the issue reproduces only when you use a mutating webhook other than ARC's own to inject arbitrary container at the index 0 of a runner pod.

Copy link
Collaborator

@mumoshu mumoshu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks a lot for the fix @ekarlso!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants