1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg
Vishal Choudhary c630f17ec4
fix: block mutation only when failurePolicy is set to fail (#8952)
* fix: only block mutation when failurePolicy is set
to fail

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

* feat: kuttl test

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

* fix: add else check

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

* fix: update defaulting ns label policy's failure policy to be fail

based on readme, this test has nothing to do with failurePolicy and resource should not be blocked in case of ignore failurePolicy

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

* fix: there is another

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

* fix: update policy

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

* nit

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

* feat: add logs

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

* Update pkg/webhooks/resource/mutation/mutation.go

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

---------

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Signed-off-by: shuting <shuting@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
Co-authored-by: shuting <shutting06@gmail.com>
2023-11-22 17:01:46 +00:00
..
auth feat: support authorizer variable in CEL expressions (#8024) 2023-09-05 10:16:50 +00:00
autogen fix: use go 1.21 new packages (#8452) 2023-09-19 12:06:53 +00:00
background fix: generate policy fails if triggered resource name exceeds 63 characters limit (#8466) 2023-11-06 10:37:13 +00:00
client fix: generate policy fails if triggered resource name exceeds 63 characters limit (#8466) 2023-11-06 10:37:13 +00:00
clients chore: bump k8s package to 1.29 (#8929) 2023-11-17 15:42:47 +08:00
config chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
controllers Make server ports configurable, resolves #7279 (#7728) 2023-11-17 14:19:53 +00:00
cosign Reduce deps (#8654) 2023-11-09 13:04:24 +00:00
engine fix: update KeysAreMissing() to ignore negations in resource (#8953) 2023-11-22 09:06:40 +00:00
event fix: generate events for scanning VAPs in reports controller (#8783) 2023-10-31 13:53:28 +00:00
images Reduce deps (#8654) 2023-11-09 13:04:24 +00:00
imageverifycache feat: update descriptions of image verify cache flags (#8770) 2023-11-02 16:10:17 +00:00
informers fix: factorise confimap informer code (#7667) 2023-06-28 04:43:16 +00:00
leaderelection Remove dependency on github.com/pkg/errors (#6165) 2023-02-01 14:38:04 +08:00
logging chore: bump k8s package to 1.29 (#8929) 2023-11-17 15:42:47 +08:00
metrics fix: allow dropping metrics, labels and configuring histogram bucket boundaries to avoid high cardinality. (#8569) 2023-10-12 09:50:27 +00:00
notary Reduce deps (#8654) 2023-11-09 13:04:24 +00:00
policy fix: generate policy fails if triggered resource name exceeds 63 characters limit (#8466) 2023-11-06 10:37:13 +00:00
policycache chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
profiling refactor: introduce cmd internal package (#5404) 2022-11-18 22:21:15 +08:00
pss chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
registryclient Reduce deps (#8654) 2023-11-09 13:04:24 +00:00
tls refactor: remove logger from tls package (#8157) 2023-08-29 10:31:56 +00:00
toggle fix: display a message when the controller has no permissions for VAPs (#8776) 2023-11-01 21:52:03 +08:00
tracing feat: bump otel libs (#8159) 2023-08-30 08:36:58 +00:00
userinfo refactor: reduce userinfos deps and add unit tests (#6524) 2023-03-10 09:09:19 +00:00
utils fix: change names of fuzzing policies (#8947) 2023-11-20 01:05:58 +00:00
validatingadmissionpolicy feat: support vap variables in the CLI (#8182) 2023-08-30 18:03:00 +00:00
validation chore (deps): bump a couple of deps (#8867) 2023-11-09 16:25:15 +05:30
version fix: use golang builtin version management (#7654) 2023-06-30 23:27:06 +00:00
webhooks fix: block mutation only when failurePolicy is set to fail (#8952) 2023-11-22 17:01:46 +00:00