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 |
|
shivkumar dudhani
|
e6e5bbb603
|
Merge branch 'master' into access_check
|
2020-03-17 17:23:18 -07:00 |
|
shivkumar dudhani
|
1b1ab78f77
|
logs & access
|
2020-03-17 11:05:20 -07:00 |
|
shravan
|
9656975b5a
|
527 renamed package and send listner instead of entire sync object
|
2020-03-07 12:53:37 +05:30 |
|
shravan
|
6206852262
|
527 redesigned implementation so that package variables are not used across packages
|
2020-03-04 15:45:20 +05:30 |
|
shravan
|
38b92a0d34
|
527 making status listner into a buffered channel instead of go routines
|
2020-03-04 13:35:49 +05:30 |
|
shravan
|
e324967405
|
527 resolving merge conflicts
|
2020-02-29 23:12:39 +05:30 |
|
shravan
|
40e92ebacf
|
527 decoupling sender and reciever
|
2020-02-29 22:39:27 +05:30 |
|
shravan
|
ac37ec66f0
|
527 minor fixes
|
2020-02-23 20:40:00 +05:30 |
|
shravan
|
592df74c57
|
527 tested mutate needs further testing
|
2020-02-22 23:35:02 +05:30 |
|
shivkumar dudhani
|
e499264ea9
|
refactor events
|
2020-02-19 19:24:34 -08:00 |
|
Shivkumar Dudhani
|
f4406bbefc
|
linter fixes (#656)
* cleanup phase 1
* linter fixes phase 2
* linter fixes
* linter fixes
|
2020-01-24 16:27:51 -08:00 |
|
Shuting Zhao
|
ba8030bec0
|
change to use validationFailureAction for the mutation failure action
|
2020-01-16 11:57:28 -08:00 |
|
Shuting Zhao
|
e3123e96b6
|
Merge branch 'master' into add_testscenario
|
2020-01-08 16:48:15 -08:00 |
|
Shivkumar Dudhani
|
3cf9141f4d
|
593 feature (#594)
* 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
* initial commit
* fix trailing quote in patch
* remove comments
* initial condition (equal & notequal)
* initial support for conditions
* initial support fo conditions in generate
* support precondition checks
* cleanup
* re-evaluate GR on namespace update using dynamic informers
* add status for generated resources
* display loaded variable SA
* support delete cleanup of generate request main resources
* fix log
* remove namespace from SA username
* support multiple variables per statement for scalar values
* fix fail variables
* add check for userInfo
* validation checks for conditions
* update policy
* refactor logs
* code review
* add openapispec for clusterpolicy preconditions
* Update documentation
* CR fixes
* documentation
* CR fixes
* update variable
* fix logs
* update policy
* pre-defined variables (serviceAccountName & serviceAccountNamespace)
* update test
|
2020-01-07 15:13:57 -08:00 |
|
Shuting Zhao
|
08491df046
|
Merge commit 'ffd2179b0332738a088b362e94147a981f0d02ed' into 600_bug
# Conflicts:
# pkg/webhooks/mutation.go
|
2020-01-07 14:17:25 -08:00 |
|
Shuting Zhao
|
cafc3883a4
|
- fix validation to process on patched resource; - format code
|
2020-01-07 11:32:52 -08:00 |
|
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
|
ecbbd04bc5
|
- remove policy violation created on owner and related logic; - use generic call to create violation info
|
2020-01-06 17:07:11 -08:00 |
|
Shuting Zhao
|
77955ff212
|
change the policy action to operate on it's own validationFailureAction
|
2020-01-06 14:41:02 -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 |
|
Shivkumar Dudhani
|
a81d5c9ae7
|
update event message (#515)
|
2019-11-18 17:13:48 -08:00 |
|
shuting
|
ded0183aa2
|
Merge pull request #478 from nirmata/472_update_apiversion
472 update apiversion
|
2019-11-13 15:19:27 -08:00 |
|
Shuting Zhao
|
b67577994a
|
update apiversion to v1 in code
|
2019-11-13 13:41:08 -08:00 |
|
Shivkumar Dudhani
|
765a17df03
|
423 policy store (#471)
* fix log format
* update test
|
2019-11-13 13:21:00 -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
|
81ac13cb05
|
lookup policies from policy store in webhook
|
2019-11-13 12:15:51 -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 |
|
Shuting Zhao
|
b5b3dae145
|
fix logging format
|
2019-11-13 00:47:37 -08:00 |
|
Shuting Zhao
|
7ca87b0ac6
|
Merge branch '455_namespace_pv' of https://github.com/nirmata/kyverno into 455_namespace_pv
# Conflicts:
# pkg/policyviolation/generator.go
# pkg/policyviolation/namespacedpv.go
# pkg/webhooks/report.go
|
2019-11-12 19:18:34 -08:00 |
|
Shuting Zhao
|
89e5e7fa54
|
integrate with pv genreator
|
2019-11-12 19:05:29 -08:00 |
|
shivkumar dudhani
|
1049e3fe81
|
pass dynamic client
|
2019-11-12 18:25:50 -08:00 |
|
Shuting Zhao
|
8b5ddb66e3
|
integrate with pv genreator
|
2019-11-12 16:15:40 -08:00 |
|
shivkumar dudhani
|
ccbb6e33a5
|
introduce policy violation generator
|
2019-11-12 14:41:29 -08:00 |
|
Shuting Zhao
|
5a3ed62b13
|
Merge branch 'master' into 345_support_usergroup_info
# Conflicts:
# pkg/engine/validation_test.go
# pkg/webhooks/annotations.go
# pkg/webhooks/annotations_test.go
# pkg/webhooks/mutation.go
# pkg/webhooks/server.go
# pkg/webhooks/validation.go
|
2019-11-11 19:19:08 -08:00 |
|
Shuting Zhao
|
6048d59949
|
change engine interface to take policyContext struct
|
2019-11-08 18:57:27 -08:00 |
|
Shivkumar Dudhani
|
687c0c6470
|
Merge pull request #418 from nirmata/391_feature
Check if mutating webhook admission control is enabled
|
2019-11-08 12:55:28 -08:00 |
|
Shuting Zhao
|
caf7abfecc
|
Get policy list once in handleAdmissionRequest
|
2019-11-07 12:13:16 -08:00 |
|
shivkumar dudhani
|
7e7286a9c1
|
support string - numbers comparison, use validatepattern in generate for subset check
|
2019-10-31 13:29:03 -07:00 |
|
Shivkumar Dudhani
|
92c96aaf1f
|
Revert "use validatepattern in generate rule to check for subset existance"
|
2019-10-31 13:21:38 -07:00 |
|
shivkumar dudhani
|
61c1ea5a49
|
use validatepattern in generate rule to check for subset existance
|
2019-10-31 13:04:56 -07:00 |
|
shivkumar dudhani
|
e022084dd0
|
add checker to verify if mutatingwebhook is enabled or not + refactoring
|
2019-10-30 13:39:19 -07:00 |
|
Shuting Zhao
|
3a3efe00f1
|
- rename to managedResource; - refact code structure
|
2019-10-24 15:50:11 -07:00 |
|
Shuting Zhao
|
6e69c8b69b
|
cleanup pv with dependant when blocked admission request pass
|
2019-10-23 23:18:58 -07:00 |
|
Shuting Zhao
|
e4791e5828
|
remove unused code
|
2019-10-21 15:55:20 -07:00 |
|
Shuting Zhao
|
f820cb4c83
|
implement #387 Generate clusterpolicyviolation when policy action set to "enforce"
|
2019-10-21 15:55:20 -07:00 |
|
shivkumar dudhani
|
70ff2fa177
|
update engineResponse Name
|
2019-10-08 10:57:24 -07:00 |
|
shivkumar dudhani
|
44af35d6e4
|
support wild cards for namespaces in rule resource description
|
2019-09-12 17:11:55 -07:00 |
|
shivkumar dudhani
|
cd6b1d0990
|
aggregate rule status
|
2019-09-03 17:43:36 -07:00 |
|
shivkumar dudhani
|
6228b8343e
|
refactor engine api
|
2019-09-03 15:48:13 -07:00 |
|