Skip to content

feat: allow proxies to be injected using a native sidecar #1442

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

Merged
merged 2 commits into from
Apr 8, 2025

Conversation

devjoes
Copy link
Contributor

@devjoes devjoes commented Aug 21, 2024

Reason for Change:

Fixes Issue 773 by using native sidecars so that pods exit cleanly when running as cronjobs, currently azwi sidecar prevents the pod from terminating.

It also addresses an annoyance where the first container in the pod is the proxy, so any kubectl commands target that container, previously I was working around this by adding the default-container annotation.

When running on kubernetes >=1.28 it will use native sidecars, otherwise it will use the original approach.

No update to deployment.yaml

No change to Helm chart

Requirements

  • squashed commits
  • included documentation
  • added unit tests and e2e tests (if applicable).

Issue Fixed:

Fixes #733

Please answer the following questions with yes/no:

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

  • yes
  • no

Notes for Reviewers:
Tested on v1.30.0-eks-fff26e3

@devjoes devjoes requested review from aramase and enj as code owners August 21, 2024 10:04
@devjoes
Copy link
Contributor Author

devjoes commented Aug 21, 2024

@microsoft-github-policy-service agree

@devjoes
Copy link
Contributor Author

devjoes commented Sep 9, 2024

@aramase @enj any update on this PR? I've just rebased it and messaged our MS TAMs to see if they can do anything to get it merged.

@bench
Copy link

bench commented Dec 9, 2024

Hi,
Can we have any news for this PR please :)
@aramase @enj

@devjoes
Copy link
Contributor Author

devjoes commented Feb 13, 2025

@bench I think that this repo is dead tbh. I'm going to get on to our account managers and see if they can talk to whoever is in charge of it

Copy link
Member

@aramase aramase left a comment

Choose a reason for hiding this comment

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

Please also add a e2e test here to validate the new annotation.

@aramase
Copy link
Member

aramase commented Mar 31, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@aramase
Copy link
Member

aramase commented Apr 8, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@aramase
Copy link
Member

aramase commented Apr 8, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@aramase
Copy link
Member

aramase commented Apr 8, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@aramase
Copy link
Member

aramase commented Apr 8, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@enj enj dismissed aramase’s stale review April 8, 2025 21:18

Reviewed together

@aramase
Copy link
Member

aramase commented Apr 8, 2025

Simulated test failure succesfully: #1588 (comment)

@aramase aramase enabled auto-merge (squash) April 8, 2025 21:36
@aramase aramase merged commit ed30604 into Azure:main Apr 8, 2025
20 of 21 checks passed
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.

azure.workload.identity/inject-proxy-sidecar blocks jobs in Kubernetes
4 participants