Naman Lakhwani
e6f16221d0
modifying make command ( #2265 )
...
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
2021-09-09 16:29:16 -07:00
Max Goncharenko
7e258bf54b
add new test; remove unnecessary anchors ( #2217 )
...
* add new test; remove unnecessary anchors
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* added several test to e2e
Signed-off-by: Max Goncharenko <kacejot@fex.net>
* remove unused variable
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* added comment to expected result
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
2021-09-09 08:55:20 -07:00
Vyankatesh Kudtarkar
74549c71ed
Merge pull request #2261 from vyankyGH/GVK_Format
...
Support GVK format is case sensitive
2021-09-09 09:34:58 +05:30
Vyankatesh Kudtarkar
39ce730814
Merge branch 'main' into GVK_Format
2021-09-09 09:00:37 +05:30
Naman Lakhwani
dfd9a8d604
networkPolicy customization ( #2334 )
...
* networkpolicy customization
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
* allow configuring matchLabels, added metrics-port
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
* check metricsService.create
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
2021-09-08 18:21:56 -07:00
Max Goncharenko
2a375fa1b5
Remove contains function ( #2346 )
...
* remove contains function
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* added test for contains issue case
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
2021-09-08 12:33:41 -07:00
Pooja Singh
bc88916437
Merge pull request #2370 from NoSkillGirl/2350/handling_any/all_cli
...
Added condition for `all/any` for match | CLI
2021-09-08 14:29:42 +05:30
NoSkillGirl
973d09d0e4
seperating the code in different function
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-08 13:07:34 +05:30
NoSkillGirl
f5887b49a7
added condition for all and any while getting the resource
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-08 12:06:14 +05:30
Vyankatesh Kudtarkar
12530619ce
allowing users to skip policy validation when mutating resources ( #2365 )
...
* allowing users to skip policy validation when mutating resources
* fix unit test issue
* fix comment
2021-09-07 22:12:44 -07:00
Jim Bugwadia
511db4372b
update cosign ( #2369 )
...
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-09-07 21:29:20 -07:00
Pooja Singh
2e76d0a3e7
Merge pull request #2367 from NoSkillGirl/handling_autogen_cli
...
Handling autogen test cases | CLI
2021-09-07 22:50:30 +05:30
NoSkillGirl
1b0c80b39f
fixed test cases
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-07 22:27:29 +05:30
NoSkillGirl
1180ba4a86
handling autogen
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-07 20:23:03 +05:30
Pooja Singh
745838ff26
Merge pull request #2364 from NoSkillGirl/2363/gvk_bug_cli
...
Fix | Support gvk in CLI for policies applied on cluster
2021-09-06 19:02:31 +05:30
NoSkillGirl
0054da8cdb
issue fixed
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-06 18:15:52 +05:30
Sachin
0d1b662134
add check for the forward slash ( #2270 )
...
* add check for the forward slash
Signed-off-by: slayer321 <sachin.maurya7666@gmail.com>
* fix errors
Signed-off-by: slayer321 <sachin.maurya7666@gmail.com>
* fix minor errors
Signed-off-by: slayer321 <sachin.maurya7666@gmail.com>
* fix regex
Signed-off-by: slayer321 <sachin.maurya7666@gmail.com>
* fix error message
Signed-off-by: slayer321 <sachin.maurya7666@gmail.com>
2021-09-06 15:22:51 +05:30
Pooja Singh
eca7d455f7
Merge pull request #2342 from NoSkillGirl/cli/apply_command_improvement
...
Kyverno CLI `apply` and `test` command improvements
2021-09-03 21:21:11 +05:30
Pooja Singh
21c5ad49db
Merge pull request #7 from vyankyGH/test_cmd_skippolicy
...
update test command for skipped policy
2021-09-03 19:23:47 +05:30
Vyankatesh Kudtarkar
f9df03ee81
update test command for skip policies
2021-09-03 18:43:11 +05:30
NoSkillGirl
39c58f661f
added exit code for policy report
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-03 17:17:22 +05:30
NoSkillGirl
6650d36e04
moved some code to common
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-03 16:41:13 +05:30
NoSkillGirl
3e953ba50b
added condition for mutate rule count
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-03 12:41:05 +05:30
NoSkillGirl
e89a663689
added logic for mutate policies
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-03 12:32:12 +05:30
Vyankatesh Kudtarkar
28cceb9229
add unit test cases
2021-09-03 10:42:43 +05:30
Vyankatesh Kudtarkar
601fb711e5
fix unit test issue
2021-09-03 10:32:09 +05:30
NoSkillGirl
14d00722d8
fixed autogen test case
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-03 00:36:42 +05:30
NoSkillGirl
2dc1f1dc3c
fixed context variable
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-03 00:19:11 +05:30
Pooja Singh
62d2df8b63
Merge pull request #6 from vyankyGH/test_cmd_update
...
Test cmd update
2021-09-03 00:01:12 +05:30
Vyankatesh Kudtarkar
3de0b21024
remove space
2021-09-02 23:14:39 +05:30
Vyankatesh Kudtarkar
fc4561cc4e
update test command
2021-09-02 23:11:35 +05:30
NoSkillGirl
b90df0980a
small fixes for test command
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-02 18:15:22 +05:30
Vyankatesh Kudtarkar
6821800273
Merge branch 'GVK_Format' of https://github.com/vyankyGH/kyverno into GVK_Format
2021-09-02 12:40:46 +05:30
Vyankatesh Kudtarkar
2ee32214f9
Dynamic process of GVK
2021-09-02 12:40:40 +05:30
Vyankatesh Kudtarkar
68d66111a7
Merge branch 'kyverno:main' into GVK_Format
2021-09-02 11:14:33 +05:30
James Callahan
95786f5033
Cleanup kustomizations ( #2274 )
...
- Remove dead newName specification
- Un-hardcode namespace from resources
- Create 'bundle' kustomization that keeps namespace hardcoding
This should be used (as a base) to generate static manifests
- Turn 'release' directory into kustomization that is only place with version numbers
Signed-off-by: James Callahan <jamescallahan@bitgo.com>
2021-09-01 18:53:28 -07:00
Yashvardhan Kukreja
4990122f1c
removed: resource_name label which is exposed as a part of Kyverno's metrics ( #2351 )
...
Signed-off-by: Yashvardhan Kukreja <yash.kukreja.98@gmail.com>
2021-09-01 18:26:25 -07:00
Bricktop
fbab9abd43
Add test case for non zero index patches with patchesJson6902 ( #2339 )
...
* Clean up formatting in mutate test file
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
* Add test for non-zero index numbers for patchesJson6902
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
* Align more with sample
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
2021-09-01 17:50:37 -07:00
NoSkillGirl
27d6b81273
small fix
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-02 04:40:05 +05:30
NoSkillGirl
2be347f3cd
ignoring test command test cases for now
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-02 04:07:25 +05:30
NoSkillGirl
a629caae18
logic for generate policies
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-02 03:54:02 +05:30
NoSkillGirl
12f3d9e7e6
keeping policy report condition
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-02 03:29:15 +05:30
NoSkillGirl
f5343fe468
changes in test command
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-02 03:21:07 +05:30
NoSkillGirl
956709069f
fixed kyverno common test cases
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-02 02:58:10 +05:30
NoSkillGirl
9f472a768f
fixed policy report test cases
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-02 02:43:07 +05:30
NoSkillGirl
6b5cf01574
fixed Test_buildPolicyReports
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-02 02:24:04 +05:30
NoSkillGirl
7690a20752
fixed apply test cases
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-02 01:06:29 +05:30
NoSkillGirl
868537f04d
added different logic for policy report in CLI
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-02 00:02:55 +05:30
NoSkillGirl
1e6b4bdcee
skipping variable check for non matching kinds
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-01 18:51:31 +05:30
Bricktop
80c29ae20d
Clean up formatting in mutate test file ( #2338 )
...
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
2021-08-31 12:44:36 -07:00