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
Jim Bugwadia
27f9516eb2
allow wildcards in condition values
2020-11-28 23:38:44 -08:00
Jim Bugwadia
e67779eeb5
allow wildcards in condition values
2020-11-28 23:29:15 -08:00
Jim Bugwadia
ec95724e97
update webhook registration and monitor ( #1318 )
...
* update webhook registration and monitor
* update log
* fix test
* improve logs
* improve logs
* format changes
* decrease interval for webhook config checks
2020-11-26 16:07:06 -08:00
NoSkillGirl
48118de5bb
small fix
2020-11-26 10:54:02 +05:30
NoSkillGirl
3a29f3af48
added log level
2020-11-26 10:34:22 +05:30
Jim Bugwadia
bfab77ac5a
Merge pull request #1303 from kyverno/1298_fix_variable_validation
...
1298 fix variable validation
2020-11-25 14:33:21 -08:00
Jim Bugwadia
52d8977aab
handle complex types for variable substitution
2020-11-25 14:21:01 -08:00
Jim Bugwadia
f304be6feb
fix typo
2020-11-25 14:20:23 -08:00
Jim Bugwadia
dcc7fff6ef
Merge branch 'main' into 1298_fix_variable_validation
2020-11-25 12:27:01 -08:00
Jim Bugwadia
f6c228339e
add nil checks and refactor schema lookups
2020-11-25 12:08:28 -08:00
Jim Bugwadia
4c47d40a3c
fix check for background mode
2020-11-25 10:11:59 -08:00
Jim Bugwadia
3dfe3169dc
add logger
2020-11-25 10:11:08 -08:00
Jim Bugwadia
125faaf4e3
fix variable substitution
2020-11-25 00:21:51 -08:00
NoSkillGirl
40b40fb601
fixed attotaions for empty set
2020-11-25 11:50:53 +05:30
Jim Bugwadia
75bd8e28f5
also trim in context query
2020-11-24 17:53:19 -08:00
Jim Bugwadia
54f816c246
trim variable for context lookups
2020-11-24 17:48:54 -08:00
shuting
e868dbfeb9
Fix 1287 - failed to update annotation through mutate policy ( #1289 )
...
* fix 1287
* update mutate log
2020-11-24 10:11:05 -08:00
Chip Zoller
7ee346b0de
column misspelling ( #1290 )
...
* column misspelling
* edit description with tip about conditional adds
* Enhance bug report template
2020-11-23 14:05:46 -08:00
Pooja Singh
b7b2eca363
Merge pull request #1279 from NoSkillGirl/cleanup/policyreport_cli
...
Cleanup/policyreport cli
2020-11-21 19:50:52 +05:30
Shuting Zhao
6a062523a4
properly handle errors in generate controller
2020-11-20 14:14:59 -08:00
Shuting Zhao
f3e6e597cd
set policy report no more than 63 charactors
2020-11-20 13:32:16 -08:00
NoSkillGirl
58bc3c7ec3
small fix
2020-11-20 12:40:45 +05:30