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

fix: Allow admission control webhook to be reinvoked if further hooks change things #8351

Closed
wants to merge 1 commit into from

Conversation

mikebryant
Copy link
Contributor

What does this PR do?

Allow the hooks to be invoked again if another hook makes changes to the same object

Motivation

I wanted to use a different hook to set the datadog labels

Describe how to test your changes

Create a Kyverno policy as in #8350 and make sure it reliably creates the DD_SERVICE environment variable

@mikebryant mikebryant requested a review from a team as a code owner June 7, 2021 14:05
@clamoriniere clamoriniere added this to the 7.35.0 milestone Feb 15, 2022
@clamoriniere
Copy link
Contributor

Hi @mikebryant
Thanks for this contribution.
We planning to work on this subject for the cluster-agent v1.20.0. We need to verify what can be the downside of this settings and if it needs to be configurable first.
We will let you know when we have these answers.

@clamoriniere clamoriniere modified the milestones: 7.35.0, DCA_1.20.0 Feb 17, 2022
Copy link
Contributor

@ahmed-mez ahmed-mez left a comment

Choose a reason for hiding this comment

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

Hi @mikebryant

Thanks for the contribution, we'd like to approve it and get it merged - could you please rebase and make the change in here and here + adapt the unit tests?

Thank you!

@ahmed-mez
Copy link
Contributor

@mikebryant I opened this PR #11440 for the same purpose. Thanks!

@ahmed-mez ahmed-mez closed this Mar 24, 2022
@mikebryant
Copy link
Contributor Author

Thank you!

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

Successfully merging this pull request may close these issues.

4 participants