1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-13 19:28:55 +00:00
kyverno/pkg/webhookconfig
Yuvraj 277402ba4c
Feature - Add checks for k8s version when Kyverno starts (#831)
* Added k8s version check for mutating and validating'

* version check adde

* middelware added

* formate

* Added timeout flag value to webhook server timeout middelware and refactore kubernetes version check

* Fixed test cases

* Removed log

* Update kubernetes version check

* Added check for mutate and validate

* Skip Validation in handleValidateAdmissionRequest if kubernetes version is below 1.14

* Update return object AdmissionResponse

* fixed condition for skiping mutation

* Handle condition for skip feature in case of kubernetes version 1.14.2
2020-05-18 17:00:52 -07:00
..
resources fix test build errors + skip testrunner 2019-08-21 12:03:53 -07:00
checker.go - skip resource schema validation when no mutate rules are applied 2020-05-17 14:37:05 -07:00
common.go refactor logging 2020-03-17 16:25:34 -07:00
policy.go refactor logging 2020-03-17 16:25:34 -07:00
registration.go Feature - Add checks for k8s version when Kyverno starts (#831) 2020-05-18 17:00:52 -07:00
registration_test.go fix import cylce after merge + seperate webhookconfig client 2019-08-21 01:07:32 -07:00
resource.go - skip resource schema validation when no mutate rules are applied 2020-05-17 14:37:05 -07:00
rwebhookregister.go - skip resource schema validation when no mutate rules are applied 2020-05-17 14:37:05 -07:00