Shivkumar Dudhani
|
ffd2179b03
|
538 (#587)
* initial commit
* background policy validation
* correct message
* skip non-background policy process for add/update
* add Generate Request CR
* generate Request Generator Initial
* test generate request CR generation
* initial commit gr generator
* generate controller initial framework
* add crd for generate request
* gr cleanup controller initial commit
* cleanup controller initial
* generate mid-commit
* generate rule processing
* create PV on generate error
* embed resource type
* testing phase 1- generate resources with variable substitution
* fix tests
* comment broken test #586
* add printer column for state
* return if existing resource for clone
* set resync time to 2 mins & remove resource version check in update handler for gr
* generate events for reporting
* fix logs
* cleanup
* CR fixes
* fix logs
|
2020-01-07 10:33:28 -08:00 |
|
Shuting Zhao
|
d36934fe11
|
Merge commit '5b8ab3842b43a72cc675b93b8b72e290adfca1d2' into 518_pod_controller
# Conflicts:
# pkg/api/kyverno/v1/types.go
# pkg/engine/mutation.go
# pkg/engine/mutation_test.go
# pkg/engine/validation.go
# pkg/policy/existing.go
|
2020-01-02 10:32:17 -08:00 |
|
Shivkumar Dudhani
|
5b8ab3842b
|
Support variable substitution (#549)
* initial commit
* variable substitution
* update tests
* update test
* refactor engine packages for validate & generate
* update vendor
* update toml
* support variable substitution in overlay mutation
* missing update
* fix indentation in logs
* store context values as single JSON document using merge patches.
* remove duplicate functions
* fix message string
* Handle processing of policies in background (#569)
* remove condition check while generating mutation patch as conditions are verified in the first iteration
* initial commit
* background policy validation
* correct message
* skip non-background policy process for add/update
* fix order to correct policy registration
* update comment
Co-authored-by: shuting <shutting06@gmail.com>
* refactor
Co-authored-by: shuting <shutting06@gmail.com>
|
2019-12-30 17:08:50 -08:00 |
|
Shuting Zhao
|
56c03f712a
|
only generate rule on policy creation
|
2019-12-27 15:57:43 -08:00 |
|
Shuting Zhao
|
bae2865550
|
- add =() to volumes; - update error msg
|
2019-12-27 14:59:12 -08:00 |
|
Shuting Zhao
|
340dee24bc
|
Merge branch 'master' into 544_documentation
# Conflicts:
# pkg/engine/overlay_test.go
|
2019-12-27 13:04:07 -08:00 |
|
Shuting Zhao
|
f2a0f0e3dc
|
replace annotation match by regexp
|
2019-12-27 12:57:06 -08:00 |
|
Shuting Zhao
|
eb6ab9d2d8
|
fix rule mis-application
|
2019-12-26 19:05:12 -08:00 |
|
Shuting Zhao
|
076196688e
|
skip process existing pod if annotation present
|
2019-12-26 18:41:14 -08:00 |
|
Shuting Zhao
|
f0d943e970
|
Merge branch 'master' into 518_pod_controller
|
2019-12-26 15:35:23 -08:00 |
|
Shuting Zhao
|
54ecb7738a
|
- insert annotation to podTemplate; - skip apply rule on pod if annotation exists
|
2019-12-26 15:34:19 -08:00 |
|
Shivkumar Dudhani
|
085856baa1
|
add event source and format event messages (#565)
|
2019-12-26 11:50:41 -08:00 |
|
Shuting Zhao
|
1f0187e8ea
|
Merge commit 'f1330ede8234eb4d449eb9ec72b41c627488350d' into 518_pod_controller
|
2019-12-20 19:06:35 -08:00 |
|
shivkumar dudhani
|
d04f49b5d8
|
fix message string
|
2019-12-17 17:16:50 -08:00 |
|
shivkumar dudhani
|
2a56a8e043
|
remove duplicate functions
|
2019-12-17 16:37:52 -08:00 |
|
shivkumar dudhani
|
a86aa06e28
|
Merge branch 'master' into 529_query
|
2019-12-17 16:36:58 -08:00 |
|
shivkumar dudhani
|
38987d50c3
|
store context values as single JSON document using merge patches.
|
2019-12-17 16:06:13 -08:00 |
|
Shuting Zhao
|
0d71e4a669
|
remove condition check while generating mutation patch as conditions are verified in the first iteration
|
2019-12-16 18:26:38 -08:00 |
|
Shuting Zhao
|
35adbbe0df
|
convert type boolean to string in /metadata/annotation
|
2019-12-13 18:04:19 -08:00 |
|
Shuting Zhao
|
5ced2409a3
|
update test
|
2019-12-13 13:30:24 -08:00 |
|
Shuting Zhao
|
0969aa9bf9
|
implement quantity comparison
|
2019-12-13 13:17:22 -08:00 |
|
shivkumar dudhani
|
c4da72ad3e
|
fix indentation in logs
|
2019-12-13 09:49:09 -08:00 |
|
shivkumar dudhani
|
0bd05fd227
|
missing update
|
2019-12-12 18:48:53 -08:00 |
|
shivkumar dudhani
|
5659f2fbcf
|
merge master
|
2019-12-12 18:44:52 -08:00 |
|
shivkumar dudhani
|
8414681e60
|
support variable substitution in overlay mutation
|
2019-12-12 18:25:54 -08:00 |
|
shivkumar dudhani
|
10fc1b47ba
|
Merge branch 'master' into v1.1.0
|
2019-12-12 16:54:42 -08:00 |
|
shivkumar dudhani
|
b5de11fc0e
|
refactor engine packages for validate & generate
|
2019-12-12 15:02:59 -08:00 |
|
shivkumar dudhani
|
507c43ddca
|
update test
|
2019-12-12 10:55:10 -08:00 |
|
shivkumar dudhani
|
8b1e084691
|
update tests
|
2019-12-12 10:47:25 -08:00 |
|
shivkumar dudhani
|
7c9bc6fecf
|
variable substitution
|
2019-12-12 10:19:45 -08:00 |
|
shivkumar dudhani
|
12edc56613
|
initial commit
|
2019-12-11 09:45:22 -08:00 |
|
shivkumar dudhani
|
4c2a16904c
|
update tests
|
2019-12-10 09:15:50 -08:00 |
|
Shuting Zhao
|
8edb00d714
|
- skip processing mutate rule if condition is not met; - update debugging info
|
2019-12-09 19:28:34 -08:00 |
|
Shuting Zhao
|
1c1f47bbc5
|
correct error msg
|
2019-12-05 11:57:34 -08:00 |
|
Shuting Zhao
|
b99293018e
|
add unit test
|
2019-12-05 11:55:00 -08:00 |
|
Shuting Zhao
|
55f243b55b
|
add validation for a policy userInfo
|
2019-12-04 18:50:51 -08:00 |
|
Shivkumar Dudhani
|
ffe3bdb677
|
remove newline from engine response strings (#537)
* remove newline from engine response strings
* add scenario file updates
* cr: remove . in trailing msg string
|
2019-12-04 18:04:42 -08:00 |
|
Shuting Zhao
|
51642cbcf3
|
skip process mutate patches if conditon tag is not present
|
2019-11-27 19:40:47 -08:00 |
|
Shuting Zhao
|
e743a4702c
|
escape slash in annotation patch
|
2019-11-27 17:51:33 -08:00 |
|
Shuting Zhao
|
261560eafb
|
mutate rule: do not ignore empty key in resource if overlay has nested anchor
|
2019-11-27 16:07:15 -08:00 |
|
Shuting Zhao
|
a1ce6e4297
|
fix annotation patch in mutate rule
|
2019-11-13 17:56:56 -08:00 |
|
Shivkumar Dudhani
|
3ab0790342
|
use PolicyContext with engine.Generate (#483)
|
2019-11-13 15:46:43 -08:00 |
|
shuting
|
ded0183aa2
|
Merge pull request #478 from nirmata/472_update_apiversion
472 update apiversion
|
2019-11-13 15:19:27 -08:00 |
|
Shivkumar Dudhani
|
23ba517fef
|
add patched resource + correct register handlers (#482)
|
2019-11-13 15:16:46 -08:00 |
|
Shuting Zhao
|
eab9609c6a
|
update api in tests
|
2019-11-13 13:56:07 -08:00 |
|
Shuting Zhao
|
b67577994a
|
update apiversion to v1 in code
|
2019-11-13 13:41:08 -08:00 |
|
Shivkumar Dudhani
|
7a12e12cb5
|
skip validation if the resource updates dont violate policy rules (#477)
|
2019-11-13 13:13:07 -08:00 |
|
Shuting Zhao
|
fc35a52ad8
|
Merge branch 'master' into 455_namespace_pv
# Conflicts:
# definitions/install_debug.yaml
# main.go
# pkg/webhooks/mutation.go
# pkg/webhooks/server.go
# pkg/webhooks/validation.go
|
2019-11-13 11:46:46 -08:00 |
|
shivkumar dudhani
|
d8bf7fa284
|
clean up fixes
|
2019-11-12 16:49:05 -08:00 |
|
Shuting Zhao
|
2a14c1f5dc
|
- add profiling; - fix CLI
|
2019-11-11 21:23:26 -08:00 |
|