Shuting Zhao
0e803ae532
fix DENY pending for DELETE request
2020-05-18 20:01:20 -07:00
Shuting Zhao
962b8f9865
Fix bug
2020-05-18 18:30:39 -07:00
Shuting Zhao
416f5ecc00
Merge branch 'master' into 744_deny_requests
...
# Conflicts:
# pkg/utils/util.go
# pkg/webhooks/server.go
2020-05-18 18:05:22 -07:00
Shuting Zhao
7348eda222
Fix convert resource with DELETION request
2020-05-18 17:11:08 -07:00
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
Shuting Zhao
ad4f06f22d
Merge branch 'master' into 744_deny_requests
...
# Conflicts:
# pkg/webhooks/mutation.go
# pkg/webhooks/server.go
# pkg/webhooks/validation.go
2020-05-18 12:32:42 -07:00
Shuting Zhao
f97c202d52
extract controller resync period to a constant file
2020-05-18 11:56:17 -07:00
Yuvraj
c4c28b709b
Feature - Change annotation for auto-generate pod controllers policy ( #849 )
...
* replace auto-generate pod controllers policy
* replace auto-generate pod controllers policy
* handled backword compatibility
* added backword compatibility
* Change annotation for auto-generate pod controllers
* Typo fixed
2020-05-18 11:50:54 -07:00
Jim Bugwadia
8c4c98d1a4
Merge pull request #855 from nirmata/bugfix/fixes_791_792_832
...
Bugfix/fixes 791 792 832
2020-05-17 19:30:11 -07:00
Jim Bugwadia
304c75403e
- skip resource schema validation when no mutate rules are applied
...
- cleanup webhook registration logic and logs
2020-05-17 14:37:05 -07:00
Shuting Zhao
eec21ea5ca
Rename function
2020-05-16 21:24:37 -07:00
Shuting Zhao
0952ccec82
set log to higher level
2020-05-15 14:49:34 -07:00
Shuting Zhao
ddf89b4803
- fix 811; - suppress log
2020-05-15 13:11:28 -07:00
shravan
43d412039c
744 relocating logic
2020-05-07 23:11:04 +05:30
shravan
717e42dd0b
744 ignoring resources with deletionTimestamp
2020-05-07 23:04:15 +05:30
shravan
5ec300a12d
744 added tests
2020-05-07 02:35:24 +05:30
shravan
ab8664d6ca
resolving merge conflicts
2020-05-05 21:01:58 +05:30
shravan
b0c7cdbc81
744 save commit
2020-05-05 19:19:47 +05:30
shravan
0932e9a147
664 tested prototype
2020-04-27 18:38:03 +05:30
shravan
7dc7420ad9
744 policy validation skip
2020-04-23 01:05:00 +05:30
shravan
34238188da
744 fixing broken delete
2020-04-22 20:45:15 +05:30
shravan
7a3f0012a9
744 untested prototype
2020-04-22 20:15:16 +05:30
shravan
83ecd95945
744 added all request values to context
2020-04-15 21:17:14 +05:30
shravan
4cb44bce09
744 save commit
2020-04-14 19:06:48 +05:30
shravan
2451756651
744 tested prototype
2020-04-10 23:24:54 +05:30
shuting
0784f22f6e
Merge pull request #776 from shravanshetty1/765_globalstate
...
#765 - Removing global state from openAPI
2020-03-31 15:23:31 -07:00
shravan
20b161a270
765 resolved merge conflicts
2020-03-29 09:09:26 +05:30
shravan
02ff7e6025
767 resolving merge conflicts
2020-03-29 07:41:58 +05:30
shravan
ba0e3268e8
767 unexporting webhook fields
2020-03-29 07:36:18 +05:30
shravan
f055076041
Revert "767 tested prototype"
...
This reverts commit 4ae65497bf
.
2020-03-29 07:25:13 +05:30
shravan
9ce0102db9
754 missing changes from previous commit
2020-03-28 16:47:42 +05:30
shravan
91223deae2
754 resolved merge conflicts
2020-03-28 16:43:19 +05:30
shravan
b5af456f64
Revert "754 merge conflicts"
...
This reverts commit 39f75db435
.
2020-03-28 16:36:19 +05:30
shravan
39f75db435
754 merge conflicts
2020-03-28 16:30:18 +05:30
shravan
6efe0252a3
765 save commit
2020-03-27 19:06:06 +05:30
shravan
4ae65497bf
767 tested prototype
2020-03-25 10:53:03 +05:30
shravan
4cf29adccd
754 works as intended - more changes required related to locks .etc
2020-03-24 23:12:45 +05:30
shivkumar dudhani
4320111c5c
fix logs api
2020-03-20 11:43:21 -07:00
Shivkumar Dudhani
2638e1002a
Merge branch 'master' into access_check
2020-03-20 10:07:47 -07:00
Jim Bugwadia
77b1294c38
Merge pull request #738 from shravanshetty1/725_validation_enforce_error
...
#725 - anyPattern error improvements
2020-03-18 12:36:06 -07:00
shivkumar dudhani
e6e5bbb603
Merge branch 'master' into access_check
2020-03-17 17:23:18 -07:00
shivkumar dudhani
d327309d72
refactor logging
2020-03-17 16:25:34 -07:00
shivkumar dudhani
1b1ab78f77
logs & access
2020-03-17 11:05:20 -07:00
shuting
2768574a39
Merge pull request #737 from shravanshetty1/536_extend_cli_v3
...
#536 - kyverno CLI
2020-03-16 09:54:27 -07:00
shravan
8dda9cc413
725 error response now returns rule message if it exists
2020-03-16 14:08:13 +05:30
shravan
892f8c7040
527 resolving merge conflicts
2020-03-13 10:01:50 +05:30
shivkumar dudhani
b1063a95e1
refactor & validate operations for generate rules in PolicyValidation
2020-03-11 18:14:23 -07:00
shravan
9656975b5a
527 renamed package and send listner instead of entire sync object
2020-03-07 12:53:37 +05:30
shravan
ffd3487ace
725 changed returned error
2020-03-06 17:11:33 +05:30
shravan
afdbc1ac57
725 validationfailureaction enforce now returns a more concise error
2020-03-06 03:47:49 +05:30