1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
Commit graph

1623 commits

Author SHA1 Message Date
Shuting Zhao
a15c136d09 remove dependency 2020-10-21 18:02:27 -07:00
Shuting Zhao
25409e42ea - remove job controller; - remove in-memory configmap; - clean up kustomize manifest 2020-10-21 17:56:17 -07:00
Shuting Zhao
7a1630ca05 fix unit test 2020-10-20 16:21:13 -07:00
Shuting Zhao
28f2da93a2 add test for apply - generate policy report 2020-10-19 15:07:28 -07:00
Jim Bugwadia
1f24ea6f75
fix regex for allowed variable to support spaces (#1200)
* fix regex for allowed variable to support spaces

* remove log

* fix regex
2020-10-19 12:36:55 -07:00
Shuting Zhao
6a2eca8e1e add unit test for CLI report 2020-10-16 16:27:04 -07:00
Shuting Zhao
e80d7562d8 generate / update policyreport to cluster 2020-10-16 16:26:45 -07:00
Shuting Zhao
f1f8ed3f7d temporarily comment out code to pass CI build 2020-10-15 18:06:34 -07:00
Shuting Zhao
c906baa1a7 - update policy report types; - upgrade k8s library; - update code gen 2020-10-15 17:54:58 -07:00
Shuting Zhao
f798e9cf2d add report logic in command apply 2020-10-15 17:29:07 -07:00
Shuting Zhao
99d27ec353 move job controller to policyreport 2020-10-15 17:27:54 -07:00
Shuting Zhao
d76801a946 remove application scope for policyreport 2020-10-15 13:22:37 -07:00
Shuting Zhao
5b4afa85e2 add short names 2020-10-14 19:23:08 -07:00
Shuting Zhao
8eb7f13355 add clean up in job controller 2020-10-14 19:00:13 -07:00
Jim Bugwadia
ae0c09a05c remove ContextEntry.path (prototype for API server lookup) 2020-10-14 18:48:23 -07:00
Jim Bugwadia
7f5c19332a update name 2020-10-14 18:30:18 -07:00
Jim Bugwadia
2c9a99b55d fix mutation.go 2020-10-14 18:21:55 -07:00
Jim Bugwadia
2de8d60015 Merge branch 'master' into feature/migrate_website 2020-10-14 18:00:44 -07:00
Jim Bugwadia
4ea1126fce remove docs and update README.md 2020-10-14 17:39:45 -07:00
Pooja Singh
7ed8c18110
small fix (#1195) 2020-10-14 14:58:16 -07:00
Shuting Zhao
2a3775a2fa - resolve PR comments; - refactor jobs controller 2020-10-13 18:54:57 -07:00
Shuting Zhao
6b5e935e49 Merge branch 'feature/reports-cli' of https://github.com/evalsocket/kyverno into policyreport
# Conflicts:
#	Makefile
#	cmd/kyverno/main.go
#	go.mod
#	go.sum
#	pkg/client/clientset/versioned/clientset.go
#	pkg/client/clientset/versioned/fake/clientset_generated.go
#	pkg/client/clientset/versioned/fake/register.go
#	pkg/client/clientset/versioned/scheme/register.go
#	pkg/client/informers/externalversions/factory.go
#	pkg/client/informers/externalversions/generic.go
#	pkg/client/listers/kyverno/v1/expansion_generated.go
#	pkg/policy/common.go
#	pkg/policy/controller.go
#	pkg/policy/existing.go
#	pkg/policyviolation/builder.go
#	pkg/policyviolation/generator.go
#	pkg/webhooks/server.go
#	pkg/webhooks/validate_audit.go
#	pkg/webhooks/validation.go
2020-10-12 18:30:37 -07:00
Pooja Singh
e3521ef96c
cleanup cli output (#1180) 2020-10-09 15:19:28 -07:00
Jim Bugwadia
5c328f3cc9
Merge pull request #1176 from realshuting/self-signed-cert
Use Self-signed certificate to build TLS webhook server
2020-10-07 15:37:14 -07:00
Shuting Zhao
2152d354a9 migrate repo 2020-10-07 15:09:52 -07:00
Shuting Zhao
e8c5d47bdf update names 2020-10-07 14:44:36 -07:00
Shuting Zhao
3c65f343fe update secret with unstructured obj 2020-10-07 14:30:00 -07:00
Shuting Zhao
db92f20364 - use self-signed certificate to build TLS webhook server;
- remove CSR related code
2020-10-07 14:19:23 -07:00
Shuting Zhao
cdc5190c56 update nirmata/kyverno to kyverno/kyverno 2020-10-07 11:12:31 -07:00
Pooja Singh
ccdcb6ae89
Feature/read from stdin validate (#1171)
* temp

* added pipe logic for validate

* fixed test cases - policy mutation
2020-10-06 17:50:53 -07:00
Pooja Singh
7fc0eaaee3
added condition for exclude selector (#1169)
* added exclude selector condition

* small fix
2020-10-06 14:27:40 -07:00
evalsocket
2874b9d677 More changes 2020-10-05 10:38:58 -07:00
Pooja Singh
168c92333c
Feature/read from stdin (#1165)
* temp

* added pipe logic for apply

* removed comments

* updated readme
2020-10-01 18:22:58 -07:00
Pooja Singh
2f9d77f6d1
Merge pull request #1151 from NoSkillGirl/bug/validate_apiversion_change
fixed yaml package for CLI validate
2020-10-01 18:34:48 +05:30
Jim Bugwadia
5f8c38966a
remove mutation message when no rules are applied (#1162) 2020-09-30 11:37:40 -07:00
NoSkillGirl
b9b28b40fb fixed yaml package 2020-09-30 00:51:07 +05:30
Shuting Zhao
b8b1d81df0 handles array parsing in configmap value 2020-09-22 18:26:52 -07:00
Mohan B E
bd406f5bb8
added conversion of overlay to patch strategic merge (#1138)
* added conversion of overlay to patch strategic merge and modified unittest for the same

* updated best practice policy
2020-09-22 16:19:09 -07:00
Mohan B E
51ac382c6c
Feature/configmaps var 724 (#1118)
* added configmap data substitution for foreground mutate and validate

* added configmap data substitution for foreground mutate and validate fmt

* added configmap lookup for background

* added comments to resource cache

* added configmap data lookup in preConditions

* added parse strings in In operator and configmap lookup docs

* added configmap lookup docs

* modified configmap lookup docs
2020-09-22 14:11:49 -07:00
Yuvraj
e5fb55f1c6
Generate policy with backword compatibility (#1125)
* fix generate label issue

* fix generate issue for old namespace

* small fix

* added backword compatibility

* condition changed

* extra code remove
2020-09-18 12:34:43 -07:00
Mohan B E
a1081c8f82
fixed policy validationa and patch strategic merge bug (#1136) 2020-09-18 12:18:13 -07:00
evalsocket
d0369cae35 resource aggrigation added 2020-09-17 09:20:46 -07:00
Pooja Singh
46158ee695
Fixes CLI bug - mutate resource and variable substitution (#1123)
* fixed passing multiple resource for -f flag

* fixed saving mutated resource

* comment removed
2020-09-16 12:05:07 -07:00
Pooja Singh
ba5c656d76
converting patches to patchesJSON6902 (#1115)
* converting patches to patchesJSON6902

* updated readme

* removed patch section from readme
2020-09-16 10:53:05 -07:00
evalsocket
17226e0bce demo changes 2020-09-16 07:55:14 -07:00
evalsocket
e6e0637038 changes for demo 2020-09-16 07:26:24 -07:00
evalsocket
d8c806d6dd revert hardcoded changes 2020-09-16 06:59:15 -07:00
evalsocket
d6b0af986e tested policy report 2020-09-16 06:56:38 -07:00
evalsocket
6089f5651c small improvement 2020-09-16 01:32:02 -07:00
evalsocket
4d3b310e1f remove extra log 2020-09-16 00:51:57 -07:00