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

Correctly handle inheritance with ServiceAccounts #39

Merged
merged 5 commits into from
Jan 24, 2020

Conversation

byxorna
Copy link
Contributor

@byxorna byxorna commented Jan 24, 2020

What and why?

I found a but that would cause an injection config that uses inheritance to not correctly inherit the ServiceAccountName. Additionally, I accidentally would skip injecting the serviceAccount if the pod admission request was not empty, but this is bad because the default ServiceAccountName is called "default".

Testing Steps

  • Added unit tests for this feature (make test)

Reviewers

Required reviewers: @byxorna @defect @komapa @tumblr/k8s
Request reviews from other people you want to review this PR in the "Reviewers" section on the right.

⚠️ this PR must have at least 2 thumbs from the MAINTAINERS.md of the project before merging!

@byxorna byxorna changed the title Gabe/replace default serviceaccounts Correctly handle inheritance with ServiceAccounts Jan 24, 2020
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.

3 participants