1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-12 02:46:56 +00:00
kyverno/.github/workflows
Khaled Emara fb40aa5f38
feat(audit): use a worker pool for Audit policies (#10048)
* enhancement: split validation logic for enforce and audit policies to return admission response earlier

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: add missing file

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: unit tests

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: linter issues

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: unit tests

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: get latest policy object before updating status

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: remove debug code

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: compare before updates

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: initial reconcile

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: updates

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* feat(audit): use a worker pool for Audit policies

Signed-off-by: Khaled Emara <khaled.emara@nirmata.com>

* fix: unit test

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix(attempt): spin up go routine

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* feat: add flags maxAuditWorkers, maxAuditCapacity

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: enable debug log on failure

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: wait group panic

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* load-tests: add stess tests configurations

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* load-tests: disable admissionreports

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: build policy contexts syncronously

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: only run generate and mutate existing go routines when policies are present

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: mutate and verify tests

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: return early if no audit policy

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: run handlegenerate and mutate existing in all cases

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: only test bgapplies in generate test

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: defer wait in tests

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* enhancement: process validate enforce in a go routine

Signed-off-by: ShutingZhao <shuting@nirmata.com>

---------

Signed-off-by: ShutingZhao <shuting@nirmata.com>
Signed-off-by: Khaled Emara <khaled.emara@nirmata.com>
Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Co-authored-by: ShutingZhao <shuting@nirmata.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
2024-04-17 15:46:18 +08:00
..
check-actions.yaml chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions (#10019) 2024-04-09 15:41:47 +08:00
check-milestone.yaml fix: dependabot prs will not be checked for milestone (#9985) 2024-04-03 05:58:44 +00:00
cli.yaml chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (#9895) 2024-03-13 09:45:59 +00:00
codecov.yaml chore(deps): bump codecov/codecov-action from 4.2.0 to 4.3.0 (#10030) 2024-04-16 09:22:43 +00:00
comment-commands.yaml chore: configure gh workflows schemas (#9535) 2024-01-28 00:32:42 +02:00
conformance.yaml chore(deps): bump azure/setup-helm from 4.1.0 to 4.2.0 (#10053) 2024-04-16 09:54:59 +00:00
devcontainer-build.yaml chore(deps): bump aquasecurity/trivy-action from 0.18.0 to 0.19.0 (#9952) 2024-03-28 08:32:26 +01:00
fossa.yml chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (#9895) 2024-03-13 09:45:59 +00:00
helm-release.yaml chore(deps): bump azure/setup-helm from 4.1.0 to 4.2.0 (#10053) 2024-04-16 09:54:59 +00:00
helm-test.yaml chore(deps): bump actions/setup-python from 5.0.0 to 5.1.0 (#9944) 2024-03-27 19:47:35 +00:00
images-build.yaml chore(deps): bump aquasecurity/trivy-action from 0.18.0 to 0.19.0 (#9952) 2024-03-28 08:32:26 +01:00
images-publish.yaml chore(deps): bump sigstore/cosign-installer from 3.4.0 to 3.5.0 (#10040) 2024-04-16 08:41:29 +00:00
lint.yaml chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (#9895) 2024-03-13 09:45:59 +00:00
load-testing.yml feat(audit): use a worker pool for Audit policies (#10048) 2024-04-17 15:46:18 +08:00
nancy.yaml chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (#9895) 2024-03-13 09:45:59 +00:00
pr-update.yaml chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (#9895) 2024-03-13 09:45:59 +00:00
release.yaml chore(deps): bump sigstore/cosign-installer from 3.4.0 to 3.5.0 (#10040) 2024-04-16 08:41:29 +00:00
report-on-vulnerabilities.yaml chore(deps): bump aquasecurity/trivy-action from 0.18.0 to 0.19.0 (#9952) 2024-03-28 08:32:26 +01:00
scorecard.yaml chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (#9895) 2024-03-13 09:45:59 +00:00
sonarcloud.yaml chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (#9895) 2024-03-13 09:45:59 +00:00
tests.yaml chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (#9895) 2024-03-13 09:45:59 +00:00
verify-codegen.yaml chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (#9895) 2024-03-13 09:45:59 +00:00