Bricktop
2d0df77963
Format error messages correctly ( #2519 )
...
* Format error messages correctly
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
* No punctuation at the end or errors
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
* Replace loop with simple if
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
* Fix more errors
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
2021-10-12 14:29:20 -07:00
Marcus Noble
806bd184b7
fixed incorrect character class in regex ( #2526 )
...
* fixed incorrect character class in regex
* added general support for functions in allowed vars
* Update pkg/kyverno/common/regex.go
Co-authored-by: Bricktop <marcel.mueller1@rwth-aachen.de>
* convert tests to use test cases
* fixed formatting
Co-authored-by: Bricktop <marcel.mueller1@rwth-aachen.de>
2021-10-12 17:17:25 +02:00
Bricktop
fe0947dcb3
Add error handling where missing ( #2516 )
...
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
2021-10-11 14:57:43 -07:00
Bricktop
23864d89c8
Ensure make invocations pass linter ( #2518 )
...
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
2021-10-11 14:43:09 -07:00
Sachin
8eb0e4c83a
remove linter errors ( #2515 )
2021-10-11 12:47:23 -07:00
Sachin
e16d773957
Remove unused function ( #2517 )
2021-10-11 12:46:28 -07:00
Bricktop
67a2466c32
Remove dead code in various packages ( #2514 )
2021-10-11 12:44:43 -07:00
Pooja Singh
538132b17b
Merge pull request #2488 from NoSkillGirl/2208/e2e_test_cases_debugging
...
Added retry for processing generate requests
2021-10-11 16:22:22 +05:30
NoSkillGirl
0ff18dca6f
removed log for e2e test
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-10-11 16:21:32 +05:30
NoSkillGirl
143fe4e3cb
added log statement
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-10-11 15:48:53 +05:30
NoSkillGirl
8b739453b3
added retry
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-10-11 15:48:53 +05:30
NoSkillGirl
37b91245cb
corrected metric server name
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-10-11 15:48:53 +05:30
NoSkillGirl
d1a78e14f3
debugging
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-10-11 15:48:53 +05:30
Pooja Singh
7fbed3718f
Merge pull request #2512 from realshuting/mutate_foreach_autogen
...
Add delay in e2e tests
2021-10-11 15:47:49 +05:30
ShutingZhao
0f6e7537b4
Merge branch 'main' into mutate_foreach_autogen
2021-10-10 20:24:07 -07:00
ShutingZhao
5f9be9bf36
add delay in e2e test
...
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-10-10 20:22:36 -07:00
Jim Bugwadia
ae5e0a3d43
Merge pull request #2511 from kyverno/move-contributors-image
...
Update README.md
2021-10-10 14:55:13 -07:00
Jim Bugwadia
bc0de3d68d
Update README.md
...
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-10-10 14:39:50 -07:00
shuting
514a851d2f
fix mutate foreach auto-gen rules ( #2507 )
...
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-10-09 13:31:52 -07:00
ShutingZhao
3e5280d004
fix mutate foreach auto-gen rules
...
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-10-08 22:27:33 -07:00
ShutingZhao
5c3f219197
update release/install.yaml
2021-10-07 18:39:45 -07:00
ShutingZhao
eddd258a40
release v1.5.0-rc1
...
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-10-07 16:04:08 -07:00
Jim Bugwadia
0153bd7c72
fix cmd line tests ( #2502 )
...
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-10-07 15:25:44 -07:00
shuting
9dc2c2b4bf
Bugfixes - handle verifyImage rules for webhooks configurations ( #2501 )
...
* dynamic webhooks for verifyImages rule
Signed-off-by: ShutingZhao <shutting06@gmail.com>
* add namespace env to the initContainer
Signed-off-by: ShutingZhao <shutting06@gmail.com>
* add debug log
Signed-off-by: ShutingZhao <shutting06@gmail.com>
* update operator schema validation tag
Signed-off-by: ShutingZhao <shutting06@gmail.com>
* set policy to ready if auto-update-webhook disabled
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-10-07 13:50:30 -07:00
Kumar Mallikarjuna
f67f847901
Namespace env variable for initContainer ( #2499 )
...
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
2021-10-07 10:58:31 -07:00
Jim Bugwadia
c16de81751
Merge pull request #2496 from vyankyGH/autogen_mutate_foreach
...
Fix autogen issue for foreach mutate policy and foreach type issue
2021-10-07 08:39:02 -07:00
Vyankatesh Kudtarkar
5164d833ed
Fix autogen for varifyImage
2021-10-07 17:16:46 +05:30
Vyankatesh Kudtarkar
ee19d49a94
Fix autogen issue
2021-10-07 16:21:39 +05:30
Vyankatesh Kudtarkar
176f139f26
Fix autogen issue for Foreach mutate policy
2021-10-07 16:12:34 +05:30
Pooja Singh
80936fa2d8
Merge pull request #2492 from realshuting/bugfixes
...
bugfixes - dynamic webhooks, e2e failure
2021-10-07 13:11:13 +05:30
Jim Bugwadia
69bb7090a4
Merge pull request #2493 from JimBugwadia/feature/foreach_mutate
...
Feature/foreach mutate
2021-10-07 00:32:22 -07:00
Jim Bugwadia
510559cd3c
Merge pull request #2494 from kyverno/update_code_gen
...
generate code and CRDs
2021-10-07 00:26:50 -07:00
Jim Bugwadia
b56757ce2a
generate code and CRDs
...
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-10-06 23:16:40 -07:00
Jim Bugwadia
1c0a303106
fix merge error
...
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-10-06 22:48:56 -07:00
Jim Bugwadia
7c761b4bc9
Merge branch 'main' into feature/foreach_mutate
2021-10-06 22:45:03 -07:00
ShutingZhao
a5c399bb15
e2e test - add retry when getting generated configmap
...
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-10-06 22:36:43 -07:00
Jim Bugwadia
4c63442028
separate MutateResourceWithImageInfo from buildContext and add comments
...
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-10-06 22:19:47 -07:00
ShutingZhao
6dbb529267
fix e2e test failure
...
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-10-06 22:12:48 -07:00
Jim Bugwadia
ed93a9bddf
Merge pull request #2487 from JimBugwadia/feature/cosign_attest
...
Feature/cosign attest
2021-10-06 22:10:03 -07:00
Jim Bugwadia
683543d8e2
fmt
...
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-10-06 22:05:28 -07:00
Jim Bugwadia
fa1816d605
fix tests
...
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-10-06 21:50:26 -07:00
ShutingZhao
b42c44eff0
update policy status to false if error occurs
2021-10-06 20:48:36 -07:00
ShutingZhao
08d75245a2
matching resources should be updated separate for mutate and validate rules
...
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-10-06 20:43:19 -07:00
Jim Bugwadia
b9d4ee6876
fix tests
...
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-10-06 18:31:20 -07:00
Vyankatesh Kudtarkar
05a0737184
Fix Autogen issue for any/all block and new rule foreach ( #2471 )
...
* Fix Autogen issue for any/all block and Support gvk in match kind block
* remove log and fix test
* Fix issues
* Fix cronjob issue
* Fix autogen for Foreach
* Fix autogen for For each
* Fix for each issue
* adding missing assignements
* Update autogen for foreach rule
2021-10-06 16:19:55 -07:00
Pooja Singh
ac5929fc7a
added validation for generte resource ( #2484 )
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-10-06 16:18:28 -07:00
Kumar Mallikarjuna
254be4c1d3
Leader Election for initContainer ( #2489 )
...
* Local build
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
* Leader Election for initContainer
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
* Lease deletion
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
* Use wrc client
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
* log error out
Signed-off-by: ShutingZhao <shutting06@gmail.com>
Co-authored-by: ShutingZhao <shutting06@gmail.com>
2021-10-06 16:12:07 -07:00
Anushka Mittal
efe0c28f6b
Fixes port names in flags ( #2490 )
...
* fixed port names in flags
Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>
* minor fixes
Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>
2021-10-06 14:41:07 -07:00
treydock
b460490984
Improve init container to use DeleteCollection to remove policy reports ( #2477 )
...
* Improve init container to use DeleteCollection to remove policy reports
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
* Do not use go routine for each namespace
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
2021-10-06 11:25:38 -07:00
shuting
c2751828d1
update the flag to "autoUpdateWebhooks" ( #2482 )
...
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-10-06 11:24:51 -07:00