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 webhook failure policy to Fail and set objectSelector #695

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

aramase
Copy link
Member

@aramase aramase commented Jan 11, 2023

Reason for Change:

  • Update webhook failure policy to Fail
  • Set objectSelector azure.workload.identity/use: "true"
    • With this change, only pods with label azure.workload.identity/use: "true" label will be mutated by the workload identity mwh
  • Remove mutatingWebhookFailurePolicy and mutatingWebhookObjectSelector helm configurations and set defaults for both
  • Update tests to label pods instead of service account.

Requirements

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

Issue Fixed:

part of #601

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:

@aramase aramase force-pushed the failclose branch 7 times, most recently from 572a5c0 to e0b00c2 Compare January 17, 2023 22:53
@aramase aramase force-pushed the failclose branch 6 times, most recently from e460ea9 to 0260107 Compare January 23, 2023 18:49
@aramase aramase marked this pull request as ready for review January 23, 2023 22:45
@aramase aramase requested a review from enj January 23, 2023 22:45
Copy link
Member

@enj enj left a comment

Choose a reason for hiding this comment

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

I have a hard time keeping the manifests straight 😂

@aramase aramase force-pushed the failclose branch 2 times, most recently from 6d5b376 to 83a31d4 Compare January 24, 2023 21:54
@aramase aramase requested a review from enj January 24, 2023 22:31
@enj enj enabled auto-merge (squash) January 24, 2023 22:48
- Sets failurePolicy to Fail
- Added `azure.workload.identity/use: "true"` label in objectSelector
- Regenerated helm charts and manifests

Signed-off-by: Anish Ramasekar <[email protected]>
@enj enj merged commit 653d013 into Azure:main Jan 24, 2023
@aramase aramase deleted the failclose branch January 24, 2023 23:47
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.

None yet

2 participants