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: implement mutating webhook #15

Merged
merged 2 commits into from
May 4, 2021
Merged

feat: implement mutating webhook #15

merged 2 commits into from
May 4, 2021

Conversation

aramase
Copy link
Member

@aramase aramase commented May 3, 2021

Signed-off-by: Anish Ramasekar [email protected]

  • Implements mutating webhook for adding AZURE_CLIENT_ID, AZURE_TENANT_ID, TOKEN_FILE_PATH env vars and projected service account token volume to pods that are using annotated service account.

fixes #1

Signed-off-by: Anish Ramasekar <[email protected]>
pkg/webhook/consts.go Outdated Show resolved Hide resolved
@aramase aramase marked this pull request as ready for review May 4, 2021 00:30
@aramase aramase requested a review from chewong May 4, 2021 00:31
pkg/webhook/webhook.go Show resolved Hide resolved
pkg/webhook/webhook.go Outdated Show resolved Hide resolved
pkg/webhook/webhook.go Outdated Show resolved Hide resolved
pkg/webhook/webhook.go Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
Makefile Show resolved Hide resolved
@aramase aramase requested a review from chewong May 4, 2021 18:40
Copy link
Contributor

@chewong chewong left a comment

Choose a reason for hiding this comment

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

added one more comment

pkg/config/config.go Outdated Show resolved Hide resolved
@aramase aramase merged commit 980d796 into Azure:main May 4, 2021
@aramase aramase deleted the aad-webhook branch May 4, 2021 19:31
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.

Add webhook implementation
2 participants