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

feat: Update existing SDK environment variables #1476

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

masinger
Copy link

This enables processing of already admitted and modified containers. This might occur since the reinvocationPolicy has been set to IfNeeded #749.

Reason for Change:
Not updating existing environment variables might result in a situation where the wrong credentials are projected into the container, whenever another admission plugin modifies the serviceAccountName.

Requirements

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

Issue Fixed:
Fixes #1475

Please answer the following questions with yes/no:

Does this change contain code from or inspired by another project?

  • no

If so, did you notify the maintainers and provide attribution?
not relevant

This enables processing of already admitted and modified containers.
This might occur since the reinvocationPolicy has been set to `IfNeeded` (see Azure#794).

Failing to do so might result in a situation
where the wrong credentials are projected into the container,
if another admission plugin modifies the `serviceAccountName`.
@masinger
Copy link
Author

@microsoft-github-policy-service agree company="lise GmbH"

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