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

can kinitiras inject sidecar by annotation? #21

Open
j4ckstraw opened this issue Jul 1, 2024 · 4 comments
Open

can kinitiras inject sidecar by annotation? #21

j4ckstraw opened this issue Jul 1, 2024 · 4 comments
Labels
question Further information is requested

Comments

@j4ckstraw
Copy link

No description provided.

Copy link

github-actions bot commented Jul 1, 2024

Please add a label from the following list: ['bug', 'documentation', 'duplicate', 'enhancement', 'good first issue', 'help wanted', 'invalid', 'question', 'size/L', 'size/M', 'size/S', 'wontfix']

@likakuli
Copy link
Contributor

likakuli commented Jul 2, 2024

yes, we support to select resource by annotations

@likakuli likakuli added the question Further information is requested label Jul 2, 2024
@likakuli
Copy link
Contributor

likakuli commented Jul 2, 2024

just use it like a fieldSelector. e.g. metadata.annotations.uid

@j4ckstraw
Copy link
Author

I want to implement a sidecar injection by annotation, for example: if annotation: xxx/sidecar=true, then inject a sidecar container. I check the examples directory, and find no given implement, Can you give me an example, thank you very much.

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

No branches or pull requests

2 participants