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

Fixes Istio proxy sidecar initialization issue #702

Merged
merged 4 commits into from
Feb 14, 2024

Conversation

spilchen
Copy link
Collaborator

Starting in istio 1.17, the istio proxy is now injected as the first container. This breaks some assumptions in the operator code. It assumes that any sidecar is injected at the end and the first two containers are the nma and server. This changes fixes that by referencing containers by their names rather than index. I removed all of the helpers based on index and instead get them by name.

@spilchen spilchen requested a review from roypaulin February 13, 2024 15:29
@spilchen spilchen self-assigned this Feb 13, 2024
Copy link
Collaborator

@roypaulin roypaulin left a comment

Choose a reason for hiding this comment

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

Looks good! can you also merge this into vnext?

@roypaulin
Copy link
Collaborator

There is a test that fails with Error response from daemon. Zhuoyu also got that error.

@spilchen
Copy link
Collaborator Author

There is a test that fails with Error response from daemon. Zhuoyu also got that error.

Yes, seems like an issue with our docker account. We no longer have pull access to our private repository where we keep all the server images. I have a PR opened (#704) to use a different repository for the time being.

@spilchen spilchen merged commit 8ecee81 into main Feb 14, 2024
30 checks passed
@spilchen spilchen deleted the spilchen/ref-containers-by-name branch February 14, 2024 14:52
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