1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg/engine
Jim Bugwadia 943c3a1929
use failurePolicy to block or allow requests, on policy errors (#4183)
* use failurePolicy to block or allow requests, on policy errors

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* add warnings

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* codegen

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix linter issues

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* add unit tests

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* handle network errors

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix linter issues

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix test

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix title conversion

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix path in generated file

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix test

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix fake metrics

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix tests

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* add check for klog flag initialization

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* check for flag reinitialization

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* check for flag reinitialization

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix spelling

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix flag init

Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2022-08-02 20:24:02 +05:30
..
anchor chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
common chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
context add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
jmespath chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
jsonutils refactor: move common utils (#3553) 2022-04-05 13:02:43 +00:00
mutate chore: enable ifshort linter (#3945) 2022-05-17 18:55:13 +00:00
operator chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
response use failurePolicy to block or allow requests, on policy errors (#4183) 2022-08-02 20:24:02 +05:30
utils use failurePolicy to block or allow requests, on policy errors (#4183) 2022-08-02 20:24:02 +05:30
validate use failurePolicy to block or allow requests, on policy errors (#4183) 2022-08-02 20:24:02 +05:30
variables update log levels (#4286) 2022-08-02 10:57:25 +05:30
wildcards chore: enable whitespace linter (#3864) 2022-05-10 17:01:29 +00:00
apiPath.go chore: enable whitespace linter (#3864) 2022-05-10 17:01:29 +00:00
apiPath_test.go Add unit test 2021-03-08 22:56:14 -05:00
attestation_test.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
background.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
forceMutate.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
forceMutate_test.go refactor: engine context (#3563) 2022-04-09 11:52:50 +00:00
generation.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
imageVerify.go use failurePolicy to block or allow requests, on policy errors (#4183) 2022-08-02 20:24:02 +05:30
imageVerify_test.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
imageVerifyMetadata.go chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
imageVerifyValidate.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
jsonContext.go Feature: Add support for allowing insecure registries. (#3983) 2022-05-25 11:03:36 +02:00
loadtargets.go use failurePolicy to block or allow requests, on policy errors (#4183) 2022-08-02 20:24:02 +05:30
loadtargets_test.go Load mutate.targets via dclient (#3797) 2022-05-06 05:46:36 +00:00
mutation.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
mutation_test.go use failurePolicy to block or allow requests, on policy errors (#4183) 2022-08-02 20:24:02 +05:30
policyContext.go chore: make dclient import aliases consistent (#3951) 2022-05-17 14:40:51 +00:00
utils.go use failurePolicy to block or allow requests, on policy errors (#4183) 2022-08-02 20:24:02 +05:30
utils_test.go handle subresources (#3841) 2022-05-09 18:50:50 -07:00
validation.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
validation_test.go [Bugbash] Kceu22 bugbash/fix staticcheck warnings (#3917) 2022-05-14 22:04:35 +01:00