-
Notifications
You must be signed in to change notification settings - Fork 929
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
Helm chart: add extraCRDAnnotations value and set ArgoCD sync option by default #4964
Helm chart: add extraCRDAnnotations value and set ArgoCD sync option by default #4964
Conversation
Thanks for opening your first Pull Request here! Please check out our Contributing guidelines and confirm that you Signed off. |
@sysedwinistrator thanks for working on this. |
Codecov Report
@@ Coverage Diff @@
## main #4964 +/- ##
=======================================
Coverage 36.00% 36.00%
=======================================
Files 155 155
Lines 18386 18386
=======================================
Hits 6620 6620
Misses 10994 10994
Partials 772 772 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@sysedwinistrator are you still on it ? |
set ArgoCD replace sync option by default Signed-off-by: Edwin Mackenzie-Owen <[email protected]>
a953b67
to
03d89c0
Compare
I added the injection of the new templates to the code in the Makefile that also injects the condition templates in the first and last line. It's a bit hacky, because it simply inserts a line before |
@sysedwinistrator smart ! Shall I push changes in your fork ? |
Yes, please, that would be great |
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
@sysedwinistrator changes done ! |
Congratulations! 🎉Great job merging your first Pull Request here! How awesome! If you are new to this project, feel free to join our Slack community |
/cherry-pick release-1.8 |
…by default (#4964) * fix: add extraCRDAnnotations option to helm chart set ArgoCD replace sync option by default Signed-off-by: Edwin Mackenzie-Owen <[email protected]> * fix: add extraCRDAnnotations via codegen * use template Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Edwin Mackenzie-Owen <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]>
…by default (#4964) (#5195) * fix: add extraCRDAnnotations option to helm chart set ArgoCD replace sync option by default Signed-off-by: Edwin Mackenzie-Owen <[email protected]> * fix: add extraCRDAnnotations via codegen * use template Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Edwin Mackenzie-Owen <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Edwin Mackenzie-Owen <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Edwin Mackenzie-Owen <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]>
Signed-off-by: MdSahil-oss <[email protected]> Signed-off-by: Md Sahil <[email protected]> remove some enhancement mistakes and added getData() in /api/kyverno/v1/commontypes for forEachGeneration Signed-off-by: MdSahil-oss <[email protected]> refactor: make tls cert func not depending on cert controller (#4820) * refactor: make tls cert func not depending on cert controller Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fmt Signed-off-by: Charles-Edouard Brétéché <[email protected]> * clean Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> refactor: non leader controllers management (#4831) upgrade controller-runtime dependency (#4829) Signed-off-by: damilola olayinka <[email protected]> Signed-off-by: damilola olayinka <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> fix: call depth in logging package and global logger support for call depth (#4834) * upgrade controller-runtime dependency Signed-off-by: damilola olayinka <[email protected]> * reset global logger in logging package Signed-off-by: damilola olayinka <[email protected]> * add description to globallogger Signed-off-by: damilola olayinka <[email protected]> * push only relevant changes Signed-off-by: damilola olayinka <[email protected]> Signed-off-by: damilola olayinka <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> fix extension checks (#4836) * fix extension checks Signed-off-by: Jim Bugwadia <[email protected]> * fix test Signed-off-by: Jim Bugwadia <[email protected]> Signed-off-by: Jim Bugwadia <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> refactor: leader controllers management (#4832) * refactor: leader controllers management Signed-off-by: Charles-Edouard Brétéché <[email protected]> * rename Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix start Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix deps Signed-off-by: Charles-Edouard Brétéché <[email protected]> * remove dead code Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Update PSa images dsecription (#4840) Signed-off-by: ShutingZhao <[email protected]> Signed-off-by: ShutingZhao <[email protected]> chore: bump a couple of deps (#4842) Signed-off-by: Charles-Edouard Brétéché <[email protected]> feat: use a dedicated policy metrics controller (#4818) Signed-off-by: Charles-Edouard Brétéché <[email protected]> refactor: add config support to webhook controller (#4838) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Prateek Pandey <[email protected]> refactor: make cert manager a real controller (#4792) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Prateek Pandey <[email protected]> fix: replace AbsPath with RequestURI to support query params (#4849) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> e2e test for mutate policy (#3383) Signed-off-by: slayer321 <[email protected]> Signed-off-by: slayer321 <[email protected]> reverted wrong changes in generation.go Signed-off-by: MdSahil-oss <[email protected]> docs: add debug instructions (#4843) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> Add workflow to detect and report on image vulns (#4850) * update version drop-down Signed-off-by: Chip Zoller <[email protected]> * Add workflow to detect and report on image vulnerabilities Signed-off-by: Chip Zoller <[email protected]> * pin deps Signed-off-by: Chip Zoller <[email protected]> Signed-off-by: Chip Zoller <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> chore: add launch.json for vscode debugging (#4856) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> feature: use cert extension oid as key (#4854) Signed-off-by: Batuhan Apaydın <[email protected]> Co-authored-by: Furkan Türkal <[email protected]> Signed-off-by: Batuhan Apaydın <[email protected]> Co-authored-by: Furkan Türkal <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> fix test output numbering (#4853) Signed-off-by: Anant Vijay <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> docs: add section in helm docs to install with argocd (#4878) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: hardening policy validation for generate cloneList (#4881) Signed-off-by: prateekpandey14 <[email protected]> fix: background scan labels (#4865) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Prateek Pandey <[email protected]> Fix result colour (#4885) Signed-off-by: Anant Vijay <[email protected]> Signed-off-by: Anant Vijay <[email protected]> fix: non watchable resources in report controller (#4888) * fix: non watchable resources in report controller Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix events Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: auto gen enabled when using names (#4863) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: shuting <[email protected]> refactor: manage webhooks with webhook controller (#4846) * refactor: add config support to webhook controller Signed-off-by: Charles-Edouard Brétéché <[email protected]> * refactor: add client config to webhook controller Signed-off-by: Charles-Edouard Brétéché <[email protected]> * migrate verify webhook Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> * v1 Signed-off-by: Charles-Edouard Brétéché <[email protected]> * refactor: move policy webhooks management in webhook controller Signed-off-by: Charles-Edouard Brétéché <[email protected]> * policy validating webhook config Signed-off-by: Charles-Edouard Brétéché <[email protected]> * watch policies Signed-off-by: Charles-Edouard Brétéché <[email protected]> * refactor: migrate resource webhook management in webhook controller Signed-off-by: Charles-Edouard Brétéché <[email protected]> * mutating webhook Signed-off-by: Charles-Edouard Brétéché <[email protected]> * auto update Signed-off-by: Charles-Edouard Brétéché <[email protected]> * cleanup Signed-off-by: Charles-Edouard Brétéché <[email protected]> * auto update and wildcard policies Signed-off-by: Charles-Edouard Brétéché <[email protected]> * policy readiness Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix: can't use v1 admission Signed-off-by: Charles-Edouard Brétéché <[email protected]> * reduce reconcile Signed-off-by: Charles-Edouard Brétéché <[email protected]> * watchdog Signed-off-by: Charles-Edouard Brétéché <[email protected]> * cleanup Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> * health check Signed-off-by: Charles-Edouard Brétéché <[email protected]> * runtime utils Signed-off-by: Charles-Edouard Brétéché <[email protected]> * runtime utils Signed-off-by: Charles-Edouard Brétéché <[email protected]> * cleanup Signed-off-by: Charles-Edouard Brétéché <[email protected]> * watchdog check Signed-off-by: Charles-Edouard Brétéché <[email protected]> * remove delete from mutating webhook Signed-off-by: Charles-Edouard Brétéché <[email protected]> * cleanup Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: shuting <[email protected]> chore: add argocd lab (#4884) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: reduce webhook controller logs (#4897) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: remove unnecessary dependencies from tls package (#4903) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> refactor: openapi controller part 1 (#4901) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> fix: don't specify rules when aggregationRule is set (#4867) Fixes #4866 Signed-off-by: James Callahan <[email protected]> Signed-off-by: James Callahan <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> fix: clean background scan reports (#4908) Signed-off-by: Charles-Edouard Brétéché <[email protected]> refactor: openapi controller part 2 (#4910) Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: openapi controller discovery (#4912) * refactor: openapi controller part 2 Signed-off-by: Charles-Edouard Brétéché <[email protected]> * rename Signed-off-by: Charles-Edouard Brétéché <[email protected]> * controller Signed-off-by: Charles-Edouard Brétéché <[email protected]> * rename 2 Signed-off-by: Charles-Edouard Brétéché <[email protected]> * move controller Signed-off-by: Charles-Edouard Brétéché <[email protected]> * move controller Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix: openapi controller discovery Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> chore: signing helm releases (#4801) Signed-off-by: Batuhan Apaydın <[email protected]> Signed-off-by: Batuhan Apaydın <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> fix: use constants defined in openapi controller (#4919) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> chore: update controller-tools to v0.10.0 (#4918) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: shuting <[email protected]> add filter for validation policies when ValidationFailureActionOverrides is used (#4809) Signed-off-by: Sandesh More <[email protected]> Signed-off-by: Sandesh More <[email protected]> [Cleanup] Disable PolicySkipped events (#4913) * remove skip events Signed-off-by: Anant Vijay <[email protected]> * update conditions Signed-off-by: Anant Vijay <[email protected]> * improve conditions Signed-off-by: Anant Vijay <[email protected]> * remove redundant function Signed-off-by: Anant Vijay <[email protected]> Signed-off-by: Anant Vijay <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> chore: bump a couple of deps (#4925) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> feat: make cert renewer private and add server name support (#4904) * fix: remove unnecessary dependencies from tls package Signed-off-by: Charles-Edouard Brétéché <[email protected]> * feat: make cert renewer private and add server name support Signed-off-by: Charles-Edouard Brétéché <[email protected]> * nits Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: panic when bad variable substitution (#4928) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Prateek Pandey <[email protected]> chore: add COSIGN_REPOSITORY env to ko-publish-dev step (#4922) fix: set operation in context when necessary (#4940) Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: probes should work in debug mode (#4926) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Prateek Pandey <[email protected]> fix: consider generateName when matching resources (#4945) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Fix background scan with request.operation (#4947) * update version drop-down Signed-off-by: Chip Zoller <[email protected]> * Add workflow to detect and report on image vulnerabilities Signed-off-by: Chip Zoller <[email protected]> * pin deps Signed-off-by: Chip Zoller <[email protected]> * bump JasonEtco/create-an-issue Signed-off-by: Chip Zoller <[email protected]> * bump versions in drop-downs Signed-off-by: Chip Zoller <[email protected]> * fix background mode scan with request.operation Signed-off-by: Chip Zoller <[email protected]> * Revert "bump versions in drop-downs" This reverts commit 5fcea048dd455ba055cc960d491987c70f080936. * Revert "bump JasonEtco/create-an-issue" This reverts commit f0d44c7aca759a7c294602f40030711a7a0309db. Signed-off-by: Chip Zoller <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> Update issue templates and scan for vulns action (#4952) * update version drop-down Signed-off-by: Chip Zoller <[email protected]> * Add workflow to detect and report on image vulnerabilities Signed-off-by: Chip Zoller <[email protected]> * pin deps Signed-off-by: Chip Zoller <[email protected]> * bump JasonEtco/create-an-issue Signed-off-by: Chip Zoller <[email protected]> * bump versions in drop-downs Signed-off-by: Chip Zoller <[email protected]> * fix background mode scan with request.operation Signed-off-by: Chip Zoller <[email protected]> * Revert "bump versions in drop-downs" This reverts commit 5fcea048dd455ba055cc960d491987c70f080936. * Revert "bump JasonEtco/create-an-issue" This reverts commit f0d44c7aca759a7c294602f40030711a7a0309db. * update version drop-downs Signed-off-by: Chip Zoller <[email protected]> * bump action version Signed-off-by: Chip Zoller <[email protected]> Signed-off-by: Chip Zoller <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> Co-authored-by: kyverno-bot <[email protected]> fix: don't report ready until certs are valid (#4934) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Added support to specify key signature algorithm in verifyImages (#4855) Signed-off-by: Pratik Shah <[email protected]> Signed-off-by: Pratik Shah <[email protected]> chore: bump a few deps (#4943) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Prateek Pandey <[email protected]> fix: admission reports printer (#4950) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Fixed issue-4530: Added separate attestor type for secrets and KMS (#4733) Signed-off-by: Pratik Shah <[email protected]> Signed-off-by: Vyankatesh <[email protected]> chore: Push and sign install manifests to GHCR (#4895) Signed-off-by: Batuhan Apaydın <[email protected]> Co-authored-by: Stefan Prodan <@stefanprodan> Co-authored-by: Charles-Edouard Brétéché <@eddycharly> Signed-off-by: Batuhan Apaydın <[email protected]> fix: missing watchers in resource report controller (#4967) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: improve banned types management in reports (#4953) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: don't produce empty admission reports (#4966) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: add user info in admission request logs (#4969) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: missing autogen rules in status (#4971) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: config reloading not working correctly (#4951) * fix: config reloading not working correctly Signed-off-by: Charles-Edouard Brétéché <[email protected]> * nits Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> feat: Add container registry setting on Helm Chart (#4281) To make the customization of the container registries easier, eg. a custom private registry, this change adds a new property on the images configuration to allow setting a custom image registry without needing to customize the repository of the image. Signed-off-by: Samuel Torres <[email protected]> chore: add myself in approvers (#4990) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> docs: add resource exclusions note in helm docs (#4989) * docs: add resource exclusions note in helm docs Signed-off-by: Charles-Edouard Brétéché <[email protected]> * nit Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fixes Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> feat: add policy-reporter to argocd lab (#4988) * feat: add policy-reporter to argocd lab Signed-off-by: Charles-Edouard Brétéché <[email protected]> * readme Signed-off-by: Charles-Edouard Brétéché <[email protected]> * readme Signed-off-by: Charles-Edouard Brétéché <[email protected]> * readme Signed-off-by: Charles-Edouard Brétéché <[email protected]> * readme Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Chip Zoller <[email protected]> feat: add startup probes support (#4896) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: treydock <[email protected]> Co-authored-by: shuting <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> Co-authored-by: treydock <[email protected]> feat: add metrics server and kube-prometheus-stack to argocd lab (#4995) * feat: add policy-reporter to argocd lab Signed-off-by: Charles-Edouard Brétéché <[email protected]> * readme Signed-off-by: Charles-Edouard Brétéché <[email protected]> * readme Signed-off-by: Charles-Edouard Brétéché <[email protected]> * readme Signed-off-by: Charles-Edouard Brétéché <[email protected]> * readme Signed-off-by: Charles-Edouard Brétéché <[email protected]> * feat: add metrics server and kube-prometheus-stack to argocd lab Signed-off-by: Charles-Edouard Brétéché <[email protected]> * readme Signed-off-by: Charles-Edouard Brétéché <[email protected]> * typo Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: webhooks not registering when using name override (#4992) Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: skip admission in dry run requests (#4994) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> fix principal and role variables are not substituted (#5000) refactor: add update status helper (#4985) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: shuting <[email protected]> updates with case insensitivity guarantee (#4954) * updates with case insensitivity guarantee Signed-off-by: Chip Zoller <[email protected]> * fix syntax Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Chip Zoller <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> fix: use default retry with retryfunc for a conflict (#4973) DefaultRetry is the recommended retry for a conflict where multiple clients are making changes to the same resource Signed-off-by: prateekpandey14 <[email protected]> Signed-off-by: prateekpandey14 <[email protected]> Co-authored-by: shuting <[email protected]> fix: update policy status (#5006) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: don't process non background policies in background scan (#5008) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: global anchor warning (#4962) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: shuting <[email protected]> fix: policy not denied when kinds set is empty (#5016) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> remove RBACInfo check (#5015) validate patchJSON6902 (#4469) * validate patchJSON6902 Signed-off-by: Shivansh-yadav13 <[email protected]> * validate patchJSON6902 Signed-off-by: Shivansh-yadav13 <[email protected]> * test: validateJSON6902 tests Signed-off-by: Shivansh-yadav13 <[email protected]> * validate patchJSON6902 Signed-off-by: Shivansh-yadav13 <[email protected]> * test: validate patchJSON6902 Signed-off-by: Shivansh-yadav13 <[email protected]> Signed-off-by: Shivansh-yadav13 <[email protected]> Signed-off-by: Shivansh Yadav <[email protected]> Co-authored-by: shuting <[email protected]> Enable adding annotations to configmaps in the helm chart (#4984) * fix: add user info in admission request logs (#4969) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Brian Provenzano <[email protected]> * fix: missing autogen rules in status (#4971) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Brian Provenzano <[email protected]> * fix: config reloading not working correctly (#4951) * fix: config reloading not working correctly Signed-off-by: Charles-Edouard Brétéché <[email protected]> * nits Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Brian Provenzano <[email protected]> * enable adding annotations to configmaps in the helm chart Signed-off-by: Brian Provenzano <[email protected]> * add entry to artifacthub.io release notes in Chart.yaml Signed-off-by: Brian Provenzano <[email protected]> * change name of annotation keys; codegen the readme docs Signed-off-by: Brian Provenzano <[email protected]> * feat: Add container registry setting on Helm Chart (#4281) To make the customization of the container registries easier, eg. a custom private registry, this change adds a new property on the images configuration to allow setting a custom image registry without needing to customize the repository of the image. Signed-off-by: Samuel Torres <[email protected]> Signed-off-by: Brian Provenzano <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Brian Provenzano <[email protected]> Signed-off-by: Samuel Torres <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Samuel Torres <[email protected]> fix: add more infos in reports printers (#5027) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Prateek Pandey <[email protected]> Fixed issue-4655: verifyImages is executed before mutate (#4996) Signed-off-by: Pratik Shah <[email protected]> fix: Attempt to fix the CI failure, extract CI job push-sign-install-manifest (#5035) * extract CI job push-sign-install-manifest Signed-off-by: ShutingZhao <[email protected]> * fix indent Signed-off-by: ShutingZhao <[email protected]> * update env Signed-off-by: ShutingZhao <[email protected]> Signed-off-by: ShutingZhao <[email protected]> fix: lower default qps/burst (#5034) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> feat: make shutdown more graceful (#5031) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Enhanced Signed-off-by: Md Sahil <[email protected]> added applyRules() in /pkg/background/generate/generate.go Signed-off-by: Md Sahil <[email protected]> fix: lease log message (#5030) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix env (#5046) Signed-off-by: ShutingZhao <[email protected]> Signed-off-by: ShutingZhao <[email protected]> feat: add controller logger helper (#5029) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> feat: add image verification support to background scan (#5047) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> Created configuration file for Openssf scorecard (#4778) Signed-off-by: Abhiyant Gwalani <[email protected]> Co-authored-by: Prateek Pandey <[email protected]> fix: account for policy/rule deletion in aggregated reports (#5048) * fix: account for policy/rule deletion in aggregated reports Signed-off-by: Charles-Edouard Brétéché <[email protected]> * reduce delay Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: go routines not gracefully shut down in controllers (#5022) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Prateek Pandey <[email protected]> fix: do not update reports when they are identical (#5056) * fix: do not update reports when they are identical Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix linter Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: detection of kyverno going down (#5055) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> fix: setup max procs with correct logger (#5059) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: image verification reports missing in admission mode (#5037) * fix: image verification reports missing in admission mode Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> fix: configure idle timeout in server (#5062) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> feat: add webhook server logger (#5063) Signed-off-by: Charles-Edouard Brétéché <[email protected]> added apiCalls support in kyverno-apply command (#4938) Signed-off-by: Sandesh More <[email protected]> Signed-off-by: Sandesh More <[email protected]> fix: make reponse order predictable (#5079) Signed-off-by: Charles-Edouard Brétéché <[email protected]> make response order predictable feat: add simple conformance tests (#5073) * feat: add simple conformance tests Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> fix: use correct logger in webhook controller (#5083) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> test: add best practices policies in conformance tests (#5082) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> fix: handle resource cleanup when policy is deleted (#5021) * fix: handle delete UR when policy is deleted Signed-off-by: prateekpandey14 <[email protected]> * fix cleanup Signed-off-by: prateekpandey14 <[email protected]> * use selector to list the update request Signed-off-by: prateekpandey14 <[email protected]> Signed-off-by: prateekpandey14 <[email protected]> ci: Use the Docker login action for GHCR auth (#5091) Use the `docker/login-action` action and the default `GITHUB_TOKEN` for setting up the GHCR credentials for Flux and Cosign to be able to push OCI artifacts to ` ghcr.io/kyverno/manifests/kyverno`. Signed-off-by: Stefan Prodan <[email protected]> Signed-off-by: Stefan Prodan <[email protected]> fix: allow delete of target resource with synchronize false (#5081) Signed-off-by: prateekpandey14 <[email protected]> Signed-off-by: prateekpandey14 <[email protected]> feat: add flag to configure the number of background scan workers (#5088) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Prateek Pandey <[email protected]> refactor: simplify variables regex (#5075) * feat: add simple conformance tests Signed-off-by: Charles-Edouard Brétéché <[email protected]> * gh action Signed-off-by: Charles-Edouard Brétéché <[email protected]> * separate workflow Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix the bug Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix cli test Signed-off-by: Charles-Edouard Brétéché <[email protected]> * improvements Signed-off-by: Charles-Edouard Brétéché <[email protected]> * improvements Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fixes Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix: variables regex Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix tests Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> fix: use correct side effects in validating webhooks (#5080) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> ci: Fix install manifests publishing with Flux (#5110) - use the correct version to tag artifacts - add only the generated install.yaml to the artifact contents Signed-off-by: Stefan Prodan <[email protected]> Signed-off-by: Stefan Prodan <[email protected]> Added forEachGetResourceInfoForDataAndClone() in pkg/background/generate/generate.go Signed-off-by: Md Sahil <[email protected]> docs: separate dev and user docs (#5114) * docs: separate dev and user docs Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> feat: enable/disable Debug mode which shows entire AdmissionReview payload (#5024) * work in progress PR Signed-off-by: damilola olayinka <[email protected]> * add custom request struct Signed-off-by: damilola olayinka <[email protected]> * pass debug mode option through constructor and replace logger with klogr Signed-off-by: damilola olayinka <[email protected]> * make changes Signed-off-by: damilola olayinka <[email protected]> * cleanup Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix linter Signed-off-by: Charles-Edouard Brétéché <[email protected]> * add another test case Signed-off-by: damilola olayinka <[email protected]> * removed unused function Signed-off-by: damilola olayinka <[email protected]> * fix linter Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: damilola olayinka <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> clean conformance (#5089) * clean conformance Signed-off-by: Chip Zoller <[email protected]> * adjust names Signed-off-by: Chip Zoller <[email protected]> Signed-off-by: Chip Zoller <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> [Feature] create command line option to set failurePolicy globally (#4991) * add forceFailurePolicyIgnore flag Signed-off-by: Anant Vijay <[email protected]> * cleanup code Signed-off-by: Anant Vijay <[email protected]> * add logging Signed-off-by: Anant Vijay <[email protected]> * resolve merge conflicts Signed-off-by: Anant Vijay <[email protected]> * fix codegen Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Anant Vijay <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> fix: conformance tests (#5118) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Remove old version of golang.org/x/sys (#5125) Signed-off-by: ShutingZhao <[email protected]> Signed-off-by: ShutingZhao <[email protected]> feat: add categories support to our CRDs (#5112) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> feat: oci pull/push support for policie(s) (#5026) Signed-off-by: Batuhan Apaydın <[email protected]> Signed-off-by: Batuhan Apaydın <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> Add AGE in printer columns of CRDs (#5119) * Add AGE in printer columns of CRDs Signed-off-by: Santosh Kaluskar <[email protected]> * codegen Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Santosh Kaluskar <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> fix finalizers mutation with patchesJson6902 (#5132) * fix finalizers mutation with patchesJson6902 Signed-off-by: Danny Kulchinsky <[email protected]> chore: remove old docs (#5130) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> feat: remove policy mutation for auto-gen rules (#5123) * feat: remove policy mutation code Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> * Fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> * changelog Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: shuting <[email protected]> fix: mutation policy inconsistent patching for ephemeralContainers (#5121) * fix: mutation policy consistent patching for ephemeralContainers Signed-off-by: praddy26 <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> Extended applyRules() in generate.go Signed-off-by: Md Sahil <[email protected]> reset resource version on update (#5157) Signed-off-by: ShutingZhao <[email protected]> Signed-off-by: ShutingZhao <[email protected]> skip generating events on empty rule response (#5158) Signed-off-by: ShutingZhao <[email protected]> Signed-off-by: ShutingZhao <[email protected]> Fixed issue-5102: Show rule count and type in output (#5106) Signed-off-by: Pratik Shah <[email protected]> Signed-off-by: Pratik Shah <[email protected]> finished applyRules() function Signed-off-by: Md Sahil <[email protected]> Renamed applyRules() to applyForEachGenerateRules() in term of removing namimg confliction from the generate.go file Signed-off-by: Md Sahil <[email protected]> feature: SLSA Level 3 provenance generation for Kyverno images: kyverno init, kyverno and kyvernopre (#4268) Signed-off-by: zurrehma <[email protected]> Signed-off-by: zurrehma <[email protected]> Co-authored-by: Chip Zoller <[email protected]> Co-authored-by: Jim Bugwadia <[email protected]> fix: configure klog and global logger to use zapr in json mode (#5144) * configure klog and global logger to use zapr in json mode Signed-off-by: damilola olayinka <[email protected]> * changes Signed-off-by: damilola olayinka <[email protected]> * make zapr compatible with klog's -v argument Signed-off-by: damilola olayinka <[email protected]> * remove changes Signed-off-by: damilola olayinka <[email protected]> * remove logLevel flag Signed-off-by: damilola olayinka <[email protected]> Signed-off-by: damilola olayinka <[email protected]> Co-authored-by: shuting <[email protected]> Added and Changed GetData() in common_types.go Signed-off-by: Md Sahil <[email protected]> Add ability to use commands in comments (#5154) * Add ability to use commands in comments Signed-off-by: Rishit Dagli <[email protected]> * Fix typo Signed-off-by: Rishit Dagli <[email protected]> * reset resource version on update (#5157) Signed-off-by: ShutingZhao <[email protected]> Signed-off-by: ShutingZhao <[email protected]> Signed-off-by: Rishit Dagli <[email protected]> * skip generating events on empty rule response (#5158) Signed-off-by: ShutingZhao <[email protected]> Signed-off-by: ShutingZhao <[email protected]> Signed-off-by: Rishit Dagli <[email protected]> * Fixed issue-5102: Show rule count and type in output (#5106) Signed-off-by: Pratik Shah <[email protected]> Signed-off-by: Pratik Shah <[email protected]> Signed-off-by: Rishit Dagli <[email protected]> * feature: SLSA Level 3 provenance generation for Kyverno images: kyverno init, kyverno and kyvernopre (#4268) Signed-off-by: zurrehma <[email protected]> Signed-off-by: zurrehma <[email protected]> Co-authored-by: Chip Zoller <[email protected]> Co-authored-by: Jim Bugwadia <[email protected]> Signed-off-by: Rishit Dagli <[email protected]> * Pin action to specific hash Signed-off-by: Rishit Dagli <[email protected]> * Add `/approve` Signed-off-by: Rishit Dagli <[email protected]> * fix: configure klog and global logger to use zapr in json mode (#5144) * configure klog and global logger to use zapr in json mode Signed-off-by: damilola olayinka <[email protected]> * changes Signed-off-by: damilola olayinka <[email protected]> * make zapr compatible with klog's -v argument Signed-off-by: damilola olayinka <[email protected]> * remove changes Signed-off-by: damilola olayinka <[email protected]> * remove logLevel flag Signed-off-by: damilola olayinka <[email protected]> Signed-off-by: damilola olayinka <[email protected]> Co-authored-by: shuting <[email protected]> Signed-off-by: Rishit Dagli <[email protected]> Signed-off-by: Rishit Dagli <[email protected]> Signed-off-by: ShutingZhao <[email protected]> Signed-off-by: Pratik Shah <[email protected]> Signed-off-by: zurrehma <[email protected]> Signed-off-by: damilola olayinka <[email protected]> Co-authored-by: shuting <[email protected]> Co-authored-by: Pratik Shah <[email protected]> Co-authored-by: Zahid Khan <[email protected]> Co-authored-by: Chip Zoller <[email protected]> Co-authored-by: Jim Bugwadia <[email protected]> Co-authored-by: yinka <[email protected]> fix 5151 issue (#5170) Corrected Kubernetes spelling (#5134) * Corrected Kubernetes spelling Signed-off-by: Quirino Gervacio <[email protected]> * fix codegen Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Quirino Gervacio <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: shuting <[email protected]> Co-authored-by: kyverno-bot <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> refactor: support Audit and Enforce validation failure actions (#5152) * feat: remove policy mutation code Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> * refactor: support Audit and Enforce failure actions Signed-off-by: Charles-Edouard Brétéché <[email protected]> * codegen Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> * typo Signed-off-by: Charles-Edouard Brétéché <[email protected]> * update changelog Signed-off-by: ShutingZhao <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: ShutingZhao <[email protected]> Co-authored-by: shuting <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> feat: run leader election in loop (#5173) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> fix: content type in log (#5177) Signed-off-by: Charles-Edouard Brétéché <[email protected]> chore: add kind config file (#5178) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: do not cancel context when loosing the lead (#5180) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: check resource version on update notification (#5179) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: use pagination to aggregate reports (#5190) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> refactor: remove policyreport package (#5174) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Helm chart: add extraCRDAnnotations value and set ArgoCD sync option by default (#4964) * fix: add extraCRDAnnotations option to helm chart set ArgoCD replace sync option by default Signed-off-by: Edwin Mackenzie-Owen <[email protected]> * fix: add extraCRDAnnotations via codegen * use template Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Edwin Mackenzie-Owen <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> fix: deletion of reports not belonging to kyverno (#5194) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> feat: support disabling schema validation on the patched resource (#5197) * Support disable schema validation on the patched resource Signed-off-by: ShutingZhao <[email protected]> * update api doc Signed-off-by: ShutingZhao <[email protected]> Signed-off-by: ShutingZhao <[email protected]> fix: early return in policy validation (#5200) * fix: early return in policy validation Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix test Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> refactor: health check system (#5176) * refactor: health check system Signed-off-by: Charles-Edouard Brétéché <[email protected]> * filter Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> chore: server side apply in argo lab (#5209) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: too much information for the Policy Rule Execution Latency metric (#5208) * remove general_rule_latency_type Signed-off-by: ShutingZhao <[email protected]> * remove resource_request_operation Signed-off-by: ShutingZhao <[email protected]> * remove resource_namespace Signed-off-by: ShutingZhao <[email protected]> * remove resource_kind Signed-off-by: ShutingZhao <[email protected]> * fix linter Signed-off-by: ShutingZhao <[email protected]> Signed-off-by: ShutingZhao <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> feat: add policy label to policy reports (#5198) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> [BUG] Fix foreach deletion issue (#5224) * fix foreach deletion issue add kuttl tests (#5204) - add kuttl tests - try rekor: {url: "https://rekor.sigstore.dev"} - add rekor{} object to last two policies Signed-off-by: Chip Zoller <[email protected]> add remainder of e2e verifyImages tests (#5229) Signed-off-by: Chip Zoller <[email protected]> Signed-off-by: Chip Zoller <[email protected]> feat: add grafana dashboard to helm chart (#5230) * feat: add grafana dashboard to helm chart Signed-off-by: Charles-Edouard Brétéché <[email protected]> * release note Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: treydock <[email protected]> Fixed description for secret name (#5228) Signed-off-by: Pratik Shah <[email protected]> Signed-off-by: Vyankatesh <[email protected]> chore: add loki to argocd lab (#5231) * chore: add loki to argocd lab Signed-off-by: Charles-Edouard Brétéché <[email protected]> * chore: add loki to argocd lab Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> [Feature] Pin Dependencies by Hash (#5168) * pin dependencies by hash Signed-off-by: Anant Vijay <[email protected]> * pin scripts Signed-off-by: Anant Vijay <[email protected]> Signed-off-by: Anant Vijay <[email protected]> Co-authored-by: shuting <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> fix: remove /approve from prow actions (#5243) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> Fix Keda policy installation issue (#5239) fix generateName mutation (#5146) refactor: move all middlewares in handlers sub package (#5244) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: kyverno Dockerfile base image tag and sha256 hash (#5248) Signed-off-by: prateekpandey14 <[email protected]> feat: separate webhook rules per GVK/rule (#4986) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: shuting <[email protected]> fix: remove unused code in config (#5242) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> More kuttl tests (#5238) * add remainder of e2e verifyImages tests Signed-off-by: Chip Zoller <[email protected]> * add tests Signed-off-by: Chip Zoller <[email protected]> * add external-metrics test case and scaffolding Signed-off-by: Chip Zoller <[email protected]> * update scaffolding Signed-off-by: Chip Zoller <[email protected]> * add keyed-basic test Signed-off-by: Chip Zoller <[email protected]> * add migrated e2e test for gen role and rolebinding Signed-off-by: Chip Zoller <[email protected]> * add clone-role-and-rolebinding from e2e Signed-off-by: Chip Zoller <[email protected]> * remove timeout param from kuttl-test.yaml Signed-off-by: Chip Zoller <[email protected]> * add tests for external-metrics Policy fix Signed-off-by: Chip Zoller <[email protected]> Signed-off-by: Chip Zoller <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> chore: add kuttl in makefile (#5254) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> chore: use conditions in kuttl tests to check ready policies (#5252) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: shuting <[email protected]> Kuttl updates (#5257) * add remainder of e2e verifyImages tests Signed-off-by: Chip Zoller <[email protected]> * add tests Signed-off-by: Chip Zoller <[email protected]> * add external-metrics test case and scaffolding Signed-off-by: Chip Zoller <[email protected]> * update scaffolding Signed-off-by: Chip Zoller <[email protected]> * add keyed-basic test Signed-off-by: Chip Zoller <[email protected]> * add migrated e2e test for gen role and rolebinding Signed-off-by: Chip Zoller <[email protected]> * add clone-role-and-rolebinding from e2e Signed-off-by: Chip Zoller <[email protected]> * remove timeout param from kuttl-test.yaml Signed-off-by: Chip Zoller <[email protected]> * add tests for external-metrics Policy fix Signed-off-by: Chip Zoller <[email protected]> * update test path Signed-off-by: Chip Zoller <[email protected]> * update README Signed-off-by: Chip Zoller <[email protected]> Signed-off-by: Chip Zoller <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> fix: add warning when using deprecated validation failure action (#5219) * fix: add warning when using deprecated validation failure action Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix tests Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: shuting <[email protected]> chore: remove old conformance tests files (#5260) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> feat: create cleanup new CRDs (#5233) * create new cleanup CRDs Signed-off-by: Nikhil Sharma <[email protected]> * fix package Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Nikhil Sharma <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> refactor: admission response utils (#5234) - refactor: admission response utils - unit tests Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: account for error rules in mutation webhook (#5264) * fix: account for error rules in mutation webhook Signed-off-by: Charles-Edouard Brétéché <[email protected]> * add test Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: add missing test suite to kuttl (#5268) * fix: add missing test suite to kuttl Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix path Signed-off-by: Charles-Edouard Brétéché <[email protected]> * readme Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> chore: add kuttl autogen tests (#5253) Signed-off-by: Charles-Edouard Brétéché <[email protected]> add test instructions (#5271) Signed-off-by: Chip Zoller <[email protected]> Signed-off-by: Chip Zoller <[email protected]> fix: keep admission warnings (#5269) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> fix: resource schema validation in policies under any/all match (#5246) Signed-off-by: Sandesh More <[email protected]> Signed-off-by: Sandesh More <[email protected]> refactor: admission metrics (counter and latency) (#5245) * refactor: move all middlewares in handlers sub package Signed-off-by: Charles-Edouard Brétéché <[email protected]> * refactor: admission metrics (counter and latency) Signed-off-by: Charles-Edouard Brétéché <[email protected]> * builder Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix Signed-off-by: Charles-Edouard Brétéché <[email protected]> * cleanup Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> feat: add flag to control leader election frequency (#5172) * feat: add flag to control leader election frequency Signed-off-by: Charles-Edouard Brétéché <[email protected]> * changelog Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: shuting <[email protected]> fix: make zapr compatible with klog's -v argument (#5166) * make zapr compatible with klog's -v argument Signed-off-by: damilola olayinka <[email protected]> * remove zap logger's NameKey Signed-off-by: damilola olayinka <[email protected]> Signed-off-by: damilola olayinka <[email protected]> chore: update kuttl (#5285) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: kuttl test external-service (#5287) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: check policy is ready in kuttl tests (#5286) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: image extractor kuttl tests (#5293) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: allow delete of clone target resource with synchronize false (#5161) Signed-off-by: prateekpandey14 <[email protected]> tests: add kuttl tests for multiple clone generate (#5280) * tests: add kuttl tests for multiple clone generate Signed-off-by: prateekpandey14 <[email protected]> * bump kuttl version v1.13.1 Signed-off-by: prateekpandey14 <[email protected]> * fix review comments Signed-off-by: prateekpandey14 <[email protected]> * remove cleanup of image-verify tests Signed-off-by: prateekpandey14 <[email protected]> Signed-off-by: prateekpandey14 <[email protected]> fix: reduce startup probe delay (#5296) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Co-authored-by: Prateek Pandey <[email protected]> Update kuttl test scaffolding (#5303) * add test instructions Signed-off-by: Chip Zoller <[email protected]> * update scaffolding Signed-off-by: Chip Zoller <[email protected]> Signed-off-by: Chip Zoller <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> fix: set rule response status as skip if precondition failed (#5162) exisiting UpdateRequest gets delete if precondition failed for the matched rule in case of skip rule response. Signed-off-by: Prateek Pandey <[email protected]> Signed-off-by: Prateek Pandey <[email protected]> fix: add parsing of json pointers to support special chars (#3578 #3616) (#4767) * Added jsonpointer package that supports parsing of paths and JSON pointers that can yield either a JSON pointer string or JMESPath string. * Replaced the use of `strings.Split` and `strings.Join` in places where paths are converted to JMESPaths. Signed-off-by: Tobias Dahlberg <[email protected]> Signed-off-by: Tobias Dahlberg <[email protected]> Co-authored-by: shuting <[email protected]> Co-authored-by: Prateek Pandey <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> fix: send notification when stoping watching resource in reports system (#5298) * fix: send notification when stoping watching resource in reports system Signed-off-by: Charles-Edouard Brétéché <[email protected]> * add kuttl test Signed-off-by: Charles-Edouard Brétéché <[email protected]> * rework Signed-off-by: Charles-Edouard Brétéché <[email protected]> * readme Signed-off-by: Charles-Edouard Brétéché <[email protected]> Signed-off-by: Charles-Edouard Brétéché <[email protected]> fix: wrong logger used (#5311) Signed-off-by: Charles-Edouard Brétéché <[email protected]> Fix issue where CLI test command ignores failures (#5189) Closes #5187 The test command was resetting the return value to "pass", even if it was already marked failed, in some cases. This solves by moving the "pass" into an else-if clause. Signed-off-by: Eric Miller <[email protected]> Signed-off-by: Eric Miller <[email protected]> Co-authored-by: Vyankatesh Kudtarkar <[email protected]> Co-authored-by: shuting <[email protected]> test: add kuttl tests for jmespath special chars (#5310) * Adds tests for fixes in #4767 Signed-off-by: Tobias Dahlberg <[email protected]> Signed-off-by: Tobias Dahlberg <[email protected]> Co-authored-by: shuting <[email protected]> allow list with policies in test (#5227) Signed-off-by: bakito <[email protected]> Signed-off-by: bakito <[email protected]> Co-authored-by: shuting <[email protected]> fix: synchronize source resource update to clone list resource (#5317) * fix: synchronize source resource update to clone list target resource Signed-off-by: prateekpandey14 <[email protected]> * add kuttl test to verify the clone list synchronized behavior Signed-off-by: prateekpandey14 <[email protected]> * refactor functions parameters Signed-off-by: prateekpandey14 <[email protected]> * fix the kuttl test description and behavior README Signed-off-by: prateekpandey14 <[email protected]> * Use entire content to compare Signed-off-by: prateekpandey14 <[email protected]> resolved merge conflict Signed-off-by: Md Sahil <[email protected]> Added conditional for Generate rule in /pkg/background/generate/generate.go Signed-off-by: Md Sahil <[email protected]> Corrected changes in pkg/background/generate/generate.go feat: add cleanupPolicy validation code (#5279) * validate the cleanupPolicy Signed-off-by: Nikhil Sharma <[email protected]> * add validation for DELETE permission for cleanupPolicy Signed-off-by: Nikhil Sharma <[email protected]> * add separate binary for cleanupPolicy Signed-off-by: Nikhil Sharma <[email protected]> * fix linter issues Signed-off-by: Nikhil Sharma <[email protected]> Signed-off-by: Nikhil Sharma <[email protected]> Co-authored-by: Charles-Edouard Brétéché <[email protected]> feat: add replicaset and replicationcontroller to autogen (#4975) * fix: missing autogen rules in status Signed-off-by: Charles-Edouard Brétéché <[email protected]> * feat: add replicaset and replicationcontroller to autogen Signed-off-by: Charles-Edouard Brétéché <[email protected]> * merge main Signed-of…
Explanation
When trying to update from 1.7.x to 1.8.0 via ArgoCD, ArgoCD complains that the
kubectl.kubernetes.io/last-applied-configuration
annotation is too long. This is a known issue in ArgoCD. The reason this is only happening since 1.8.0 is that this version introduced v2beta1 versions of the Custom Resources, which are added to the CRDs in addition to the v1 versions.Related issue
Milestone of this PR
What type of PR is this
Proposed Changes
The workaround is to use the
Replace=true
sync option via an annotation. It is safe to use for CRDs as it does not actually do a replace for them. The setting could also be set on a per-application level, but that could have unintended side effects. Therefore the option should only be set on the CRDs via an annotation.Please give some feedback whether the annotation should be set by default. On the one hand, it will only by used by ArgoCD and ArgoCD currently can't sync the CRDs without them; on the other hand, ArgoCD will introduce a server-side apply sync option in the upcoming 2.5 version, which will likely be a better solution.
Proof Manifests
Checklist
Further Comments