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

2978 commits

Author SHA1 Message Date
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 Zhao
ce19b5668d tag v1.3.0-rc8 2020-12-09 09:31:33 -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
Jim Bugwadia
3275326267
Merge pull request #1369 from realshuting/1366_fix_webhook_registration
Fix webhook registration
2020-12-08 17:54:07 -08:00
Shuting Zhao
54b0afb8b9 clean up old webhooks before registering new ones 2020-12-08 15:04:24 -08:00
Shuting Zhao
d8d90235f3 tag v1.3.0-rc7 2020-12-07 12:32:04 -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
c953398c1b
Merge pull request #1361 from kyverno/1332_wildcard_keys_in_patterns
1332 wildcard keys in patterns
2020-12-04 19:32:39 -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
981bb1cf2d update CRDs 2020-12-02 12:26:59 -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
Jim Bugwadia
673b3bfd22
Merge pull request #1347 from chipzoller/main
add drop all policy
2020-12-01 22:47:16 -08:00
Shuting Zhao
921cb67a9e tag v1.3.0-rc6 2020-12-01 12:52:46 -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
Jim Bugwadia
1c73dd9107
Merge pull request #1329 from hubwoop/main
adds cpu limit to pod requests limits example
2020-12-01 11:57:54 -08:00
Jonas Mai
c3d204af8a changes the pod requests and limits example policy, indicating that configuring memory limits is recommended 2020-12-01 20:29:10 +01:00
Chip Zoller
42b101d8b3 add drop all policy 2020-12-01 10:37:46 -05: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
Jim Bugwadia
c22d97a871
Merge pull request #1342 from realshuting/fix_panic
Fix panic when building ConfigMap cache
2020-11-30 20:38:44 -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
36615e21a7
Merge pull request #1335 from chipzoller/main
update policy issue template
2020-11-29 23:00:22 -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
Jim Bugwadia
a90dcf8e9b
Merge pull request #1331 from kyverno/1330_validate_condition_operators
1330 validate condition operators
2020-11-29 22:55:53 -08:00
Chip Zoller
b0177625c7 update policy issue template 2020-11-29 10:09:27 -05: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