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: disable automatic generation of webhooks #117

Merged
merged 41 commits into from
May 27, 2024

Conversation

anushkamittal2001
Copy link
Collaborator

Explanation

disableAutoWebhookGen changes

Related issue

Milestone of this PR

Documentation (required for features)

My PR contains new or altered behavior to Kyverno.

What type of PR is this

Proposed Changes

Proof Manifests

Checklist

  • I have read the contributing guidelines.
  • I have read the PR documentation guide and followed the process including adding proof manifests to this PR.
  • This is a bug fix and I have added unit tests that prove my fix is effective.
  • This is a feature and I have added CLI tests that are applicable.
  • My PR needs to be cherry picked to a specific release branch which is .
  • My PR contains new or altered behavior to Kyverno and
    • CLI support should be added and my PR doesn't contain that functionality.

Further Comments

anushkamittal2001 and others added 30 commits May 24, 2024 12:26
Signed-off-by: Anushka Mittal <[email protected]>
…o#10147)

* fix: shared policy context needs to be copied



* test(e2e): concurrent PSS execution



* test(e2e): wait for pss policies to be ready



---------

Signed-off-by: Khaled Emara <[email protected]>
Co-authored-by: Khaled Emara <[email protected]>
Co-authored-by: shuting <[email protected]>
…no#10146) (kyverno#10151)

* fix: skip rules without operation in resource webhook creation



* test: add unit test for buildRulesWithOperations



* fix liniting issues



---------

Signed-off-by: Norwin Schnyder <[email protected]>
Co-authored-by: Norwin Schnyder <[email protected]>
Co-authored-by: shuting <[email protected]>
* chore: release v1.12.1-rc.1; bump controller-gen

Signed-off-by: ShutingZhao <[email protected]>

* fix: update code-gen docs

Signed-off-by: ShutingZhao <[email protected]>

---------

Signed-off-by: ShutingZhao <[email protected]>
… (kyverno#10176)

* fix: add pods/ephemeralcontainers to the generated VAPs



* fix: remove an extra space



---------

Signed-off-by: Mariam Fahmy <[email protected]>
Co-authored-by: Mariam Fahmy <[email protected]>
…with a namespace/object selector (kyverno#10181) (kyverno#10184)

Signed-off-by: Mariam Fahmy <[email protected]>
Co-authored-by: Mariam Fahmy <[email protected]>
…10183)

Signed-off-by: Khaled Emara <[email protected]>
Co-authored-by: Khaled Emara <[email protected]>
Co-authored-by: Mariam Fahmy <[email protected]>
…no#9875) (kyverno#10185)

* make webhook pod annotations configurable



* run make codegen-helm-all



---------

Signed-off-by: André Bauer <[email protected]>
Signed-off-by: ShutingZhao <[email protected]>
Co-authored-by: André Bauer <[email protected]>
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
Co-authored-by: Charles-Edouard Brétéché <[email protected]>
…yverno#10178)

* allow kyverno apply to continue on failure



* allow kyverno apply to continue on failure



---------

Signed-off-by: lanting.chiang <[email protected]>
Co-authored-by: Lanting Chiang <[email protected]>
Co-authored-by: shuting <[email protected]>
…ork (kyverno#10216) (kyverno#10240)

* added verbosity level



* added else statement to handle the error



* fix: verbosity in cli



---------

Signed-off-by: Suruchi Kumari <[email protected]>
Signed-off-by: GitHub <[email protected]>
Signed-off-by: anushkamittal20 <[email protected]>
Co-authored-by: Anushka Mittal <[email protected]>
Co-authored-by: Suruchi Kumari <[email protected]>
Co-authored-by: shuting <[email protected]>
Co-authored-by: anushkamittal20 <[email protected]>
…erno#10258)

* fix: deepcopy patched resource to avoid indirect reversal of its elements



* fix: copy elements while reversing



* fix: copy resources inside foreach



* add test



* add test



---------

Signed-off-by: Vishal Choudhary <[email protected]>
Signed-off-by: Jim Bugwadia <[email protected]>
Co-authored-by: Vishal Choudhary <[email protected]>
Co-authored-by: Jim Bugwadia <[email protected]>
…yverno#10164) (kyverno#10267)

* fix: process the matched resources only for mutate existing policies



* fix lint issue



* chore: add unit tests



---------

Signed-off-by: Mariam Fahmy <[email protected]>
Co-authored-by: Mariam Fahmy <[email protected]>
Co-authored-by: shuting <[email protected]>
Signed-off-by: ShutingZhao <[email protected]>
Co-authored-by: Jim Bugwadia <[email protected]>
* tests: add unit tests



* fix: merge operations map correctly



---------

Signed-off-by: ShutingZhao <[email protected]>
Co-authored-by: shuting <[email protected]>
gcp-cherry-pick-bot bot and others added 9 commits May 24, 2024 18:34
…#10280)

* fix: add a copy method to the policy context



* chore: add a CLI test



* chore: remove mutate changes



---------

Signed-off-by: Mariam Fahmy <[email protected]>
Co-authored-by: Mariam Fahmy <[email protected]>
…o#10284)

* fix(anchor): give priority to skip anchors



* test(anchor): conditional anchor with a failing sibling



* test(anchor): conditional anchor mixed with other results



* fix(anchor): successful anchor with a skip anchor



---------

Signed-off-by: Khaled Emara <[email protected]>
Co-authored-by: Khaled Emara <[email protected]>
Co-authored-by: shuting <[email protected]>
…#10293) (kyverno#10297)

Signed-off-by: anushkamittal20 <[email protected]>
Co-authored-by: Anushka Mittal <[email protected]>
Co-authored-by: anushkamittal20 <[email protected]>
* release v1.12.2

Signed-off-by: ShutingZhao <[email protected]>

* merge release-1.12.

Signed-off-by: ShutingZhao <[email protected]>

---------

Signed-off-by: ShutingZhao <[email protected]>
…ge verification (kyverno#10287) (kyverno#10311)

* feat: add support for background scanning of existing resource in image verification



* fix: change rule response type to image verify



* chore: fix nilptr reference



---------

Signed-off-by: Vishal Choudhary <[email protected]>
Co-authored-by: Vishal Choudhary <[email protected]>
Signed-off-by: Anushka Mittal <[email protected]>
Signed-off-by: Anushka Mittal <[email protected]>
@anushkamittal2001 anushkamittal2001 merged commit 4ceb6fd into release-1.12-n4k May 27, 2024
250 of 254 checks passed
@anushkamittal2001 anushkamittal2001 deleted the 1.12-disable-webhook-gen branch July 14, 2024 11:19
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.

4 participants