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

1900 commits

Author SHA1 Message Date
shuting
5f70f5feec
fixes #1399 (#1400) 2020-12-15 15:21:39 -08:00
Jim Bugwadia
ad9f189144 merge main 2020-12-14 16:08:01 -08:00
Pooja Singh
bff7229678
1345 use GR lister (#1387)
* improved log message

* added lister for GR

* added label to GR

* added wait for cache is sync
2020-12-14 14:52:13 -08:00
Jim Bugwadia
043420d1ad remove ns / name check 2020-12-14 02:52:12 -08:00
Jim Bugwadia
b25a037113 fix generate clone/data check 2020-12-14 02:43:16 -08:00
Jim Bugwadia
2285e6b1b6 update docs 2020-12-14 02:38:33 -08:00
Jim Bugwadia
41f636b702 Merge branch 'main' into 1390_generate_no_data 2020-12-13 00:50:16 -08:00
Jim Bugwadia
5dcf37141b allow generate with no data/status 2020-12-12 21:19:37 -08:00
NoSkillGirl
f7056fc14a error message updated 2020-12-11 13:18:27 +05:30
NoSkillGirl
1097a0d5f5 added pipe for passing policy in apply 2020-12-10 16:07:56 +05:30
Jim Bugwadia
2bd47f28f1
Merge pull request #1379 from realshuting/1371_gen_synchronize
Disable updates of generated resource when synchronize is set to false
2020-12-10 00:24:26 -08:00
Shuting Zhao
4e81d0966d update message 2020-12-09 17:19:26 -08:00
Shuting Zhao
304a7e1b1e add warning message when validates poclies 2020-12-09 15:37:45 -08:00
Shuting Zhao
75313b7462 update message 2020-12-09 14:41:20 -08:00
Shuting Zhao
ac23fa20a7 disable updates of gen-resource when sync=false 2020-12-09 14:15:52 -08:00
shuting
39421ca6e9
Reduce RCR throttling requests (#1376)
* reduce RCR throtlling requests

* update logger in init container
2020-12-09 09:29:52 -08:00
Jim Bugwadia
b7cecd04ed
Merge pull request #1375 from kyverno/1292_match_namespace
match/exclude ns resource name
2020-12-08 23:05:42 -08:00
shuting
c1764a85d1
1370 clean up stale RCRs (#1373)
* remove env "POLICY-TYPE"

* clean up resource in goroutine

* clean up stale RCRs on namespace deletion

* go vet

* clean up code
2020-12-08 23:04:16 -08:00
shuting
ab5f2274f9
1314 validate rule (#1368)
* fixes 1314

* fix panic
2020-12-08 22:52:37 -08:00
Jim Bugwadia
d4327aeaeb match/exclude ns resource name 2020-12-08 22:17:53 -08:00
Jim Bugwadia
2613a6cce4
pkg/webhooks/server.go (#1372)
* pkg/webhooks/server.go

* remove test for blocking deletes on generatated & synchronized resources

* remove test for blocking deletes on generatated & synchronized resources
2020-12-08 19:09:59 -08:00
Shuting Zhao
54b0afb8b9 clean up old webhooks before registering new ones 2020-12-08 15:04:24 -08:00
Pooja Singh
d07058e90f
skipping gr status update (#1364) 2020-12-07 12:04:46 -08:00
Jim Bugwadia
6afd2e6f3a
ignore non-policy files in CLI and improve validation messages (#1362)
* improve validation message

* improve error behaviors

* fix tests

* fix tests
2020-12-07 11:26:04 -08:00
Jim Bugwadia
a64915128b Revert "ignore non-policy files while loading"
This reverts commit c766512485.
2020-12-06 11:12:54 -08:00
Jim Bugwadia
c766512485 ignore non-policy files while loading 2020-12-06 10:57:20 -08:00
Jim Bugwadia
c80ac553f8 update validation messages 2020-12-06 10:54:10 -08:00
Jim Bugwadia
1c2262b6e2 merge main 2020-12-04 16:52:10 -08:00
Jim Bugwadia
f3b644f624 handle anchors in keys 2020-12-04 15:59:15 -08:00
Jim Bugwadia
13a9a4721a
wildcard label and annotation keys validate patterns (#1360) 2020-12-04 12:05:24 -08:00
shuting
624b481df3
Fix 1351 - policy report (#1359)
* ignore Kyverno CRDs existence check when server is not available

* clean up cluster / reportChangeRequest

* resolve PR comments

* - fixes #1351; - clean up code

* fo fmt
2020-12-04 10:04:46 -08:00
Jim Bugwadia
44afdf2f95 wildcard label and annotation keys validate patterns 2020-12-04 09:28:30 -08:00
shuting
630a9cc94c
Fix Kyverno crash when CRD is not installed (#1353)
* ignore Kyverno CRDs existence check when server is not available

* clean up cluster / reportChangeRequest

* resolve PR comments
2020-12-03 19:19:36 -08:00
Jim Bugwadia
9cae63ea03
Merge pull request #1352 from kyverno/1332_wildcards_in_labels
1332 wildcards in labels and annotations
2020-12-03 13:56:56 -08:00
Pooja Singh
733cd060a3
fixed triggring generate rule (#1355) 2020-12-03 09:43:43 -08:00
Jim Bugwadia
59ba4fe3ac add annotation wildcard support 2020-12-02 12:25:56 -08:00
Jim Bugwadia
76b6974fc2 update CRD docs 2020-12-01 23:19:08 -08:00
Jim Bugwadia
305adf2fa0 fix typos and improve readability 2020-12-01 22:50:40 -08:00
Jim Bugwadia
8aa00106a5 add wildcard support for label key and values 2020-12-01 22:49:35 -08:00
Jim Bugwadia
50e5e7eedf add wildcard support for label key and values 2020-12-01 22:48:56 -08:00
Shuting Zhao
45dd5b736d update short names, scope 2020-12-01 12:52:17 -08:00
shuting
2ec5a0fa42
1319 fix throttling (#1348)
* fix policy status and generate controller issues

* shorten ACTION column name

* update logs

* improve naming

* add temp logs for troubleshooting

* cleanup logs

* apply generate policy to old & new resource in webhook

* cleanup log messages

* cleanup log messages

* cleanup log messages

* fix clean up of policy report in init container

Co-authored-by: Jim Bugwadia <jim@nirmata.com>
2020-12-01 12:30:08 -08:00
shuting
370828afec
Fix typo, add short names (#1344)
* fix typo

* add short names for report change request
2020-11-30 23:26:49 -08:00
Shuting Zhao
bf0128726a fix bug in configmap lookup - wrong return value for invalidType 2020-11-30 12:57:26 -08:00
Shuting Zhao
6e1be1c901 fix https://github.com/kyverno/kyverno/issues/1324 2020-11-30 12:54:48 -08:00
Jim Bugwadia
2344b2c305
1319 fix throttling (#1341)
* fix policy status and generate controller issues

* shorten ACTION column name

* update logs

Co-authored-by: Shuting Zhao <shutting06@gmail.com>
2020-11-30 11:22:20 -08:00
Jim Bugwadia
756aee3399
Merge pull request #1333 from evalsocket/fix-1291
Added logging for synchronize events for generate rules
2020-11-29 22:57:01 -08:00
evalsocket
ecc77dab96 Added log for updated generated resource 2020-11-29 20:04:55 +05:30
Jim Bugwadia
2aeb5aa982 validate conditiona.operator as enum 2020-11-29 00:37:36 -08:00
Jim Bugwadia
251129d09b fix wildcard match 2020-11-29 00:35:33 -08:00