Allow defining position of sidecar in init containers #318
neo42JBR
started this conversation in
Feature Requests
Replies: 1 comment 3 replies
|
I wonder what the current merging behavior is? It must be either random or prepend. It makes more sense that the default behavior is append so that the netbird client container is always the first to start. I have trouble seeing any major use case for the opposite. Would that work for you? |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey there,
I am in need to add a CI pod to our netbird network to access our git repositiories.
To achive my goal, my plan is to use a sidecar profile resource.
The pod that needs updating looks like this:
When the sidecar profile is added, it will result in:
This ordering would require a successful clone of the repo before the netbird connection is established.
My immediate idea for resolving this issue would be an optional setting, that allows specifying if the container is prepended or appended to the init container list.
All reactions