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
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
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
NoSkillGirl
02c584ed8f
result is printed with mutated policy results
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-09-01 00:07:19 +05:30
NoSkillGirl
7abc74273c
added logic for rule based count
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-31 21:18:54 +05:30
NoSkillGirl
92173fae9b
small fix
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-31 19:29:53 +05:30
NoSkillGirl
dce3663429
removing error count
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-31 19:27:56 +05:30
NoSkillGirl
36515ce127
removing commented code
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-31 17:59:18 +05:30
NoSkillGirl
d416b4e3cb
showing skiped policy seperately
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-31 16:24:31 +05:30
Pooja Singh
15e16e808c
Merge pull request #2247 from NoSkillGirl/bug/2181_generate_sync_issue
...
Added condition for resource synchronization
2021-08-30 17:40:08 +05:30
Pooja Singh
84f4f802fc
Merge pull request #2336 from NoSkillGirl/2289/context_policy_validation
...
Bug fix | CLI panic | Context policy validation
2021-08-30 17:28:45 +05:30
NoSkillGirl
ad0cb6e1ee
reverting image
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-30 01:19:10 +05:30
NoSkillGirl
6a90841627
added validation for context
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-27 13:50:30 +05:30
Frank Jogeleit
8eab9d45a6
Add Support for previouse test file structure ( #2329 )
...
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2021-08-26 22:52:44 -07:00
Pooja Singh
555f0a8d75
Merge pull request #2298 from freym/fix-ownerReferences
...
Remove ownerReferences when cloning resources to other namespace.
2021-08-25 10:34:42 +05:30
Pooja Singh
c843a2ad3e
Merge pull request #2306 from NoSkillGirl/cli_apply_updating_help_section
...
Updating help section for CLI `apply` command
2021-08-25 10:14:52 +05:30
NoSkillGirl
912c465142
updating help section for cli apply
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-25 09:17:47 +05:30
Matthias Frey
605110d4ca
remove ownerReferences when cloning resources to other namespace.
...
Signed-off-by: Matthias Frey <matthias.frey@kit.edu>
2021-08-24 16:02:12 +02:00
Frank Jogeleit
c522343c03
Update PolicyReport CRDs to wgpolicyk8s.io/v1alpha2 ( #1825 )
2021-08-21 10:35:17 -07:00
Vyankatesh Kudtarkar
8c7858c4b0
Validation for generate loops and support ClusterPolicy/Policy in match block ( #2275 )
...
* add validation for kinds
* remove cluster policy from excluded resources
* fix typo
2021-08-20 15:28:49 -07:00
treydock
1f756c37ac
Only release Helm charts on tags ( #2281 )
...
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
2021-08-20 15:06:58 -07:00
Max Goncharenko
ab24da9707
Added 2241 test case ( #2255 )
...
* added 2241 test case
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* update the log level for not resolved variables
Signed-off-by: Max Goncharenko <kacejot@fex.net>
2021-08-20 14:44:19 -07:00
Vineeth Reddy
c7dbbe4924
updated kyverno deployment strategy ( #2006 )
...
* updated kyverno deployment strategy
Signed-off-by: vineethvanga18 <reddy.8@iitj.ac.in>
* update helm chart
Signed-off-by: vineethvanga18 <reddy.8@iitj.ac.in>
* minor changes
Signed-off-by: vineethvanga18 <reddy.8@iitj.ac.in>
* make updatestrategy configurable
Signed-off-by: vineethvanga18 <reddy.8@iitj.ac.in>
2021-08-18 15:49:35 +05:30
Bricktop
a93240c436
Fix precondition logic for mutating policies ( #2271 )
...
* Add test for mutation with precondition
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
* Fix mistake which prevented correct variable substitution
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
2021-08-17 14:43:21 -07:00
Pooja Singh
ba00ead7f8
adding ownerRef with namespace ( #2263 )
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-13 17:07:40 -07:00
NoSkillGirl
d778788a18
reverted makefile changes
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-13 17:33:38 +05:30
NoSkillGirl
bf86449395
added logic for updating the resource according to the sync flag
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-13 17:23:39 +05:30
NoSkillGirl
92d9d634a3
added condition for resource sync
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-13 14:03:09 +05:30
treydock
45e95c2217
Make Kyverno CRDs a seperate Helm chart capable of being updated/deleted ( #2218 )
...
* Make Kyverno CRDs a seperate Helm chart capable of being updated/deleted
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
* Make E2E tests work with new chart
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
* Seems Helm lint needs values.yaml
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
* Can't use ct install for the CRDs because will end up getting uninstalled after test
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
* Ensure helm release accounts for new CRD chart
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
* Update CRD chart versions
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
* Make CRD chart version match main kyverno chart version
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
* Bump chart versions
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
2021-08-12 13:54:17 -07:00
Thomas Labarussias
7c96bd3e21
add value for override of namespace of serviceMonitor ( #2258 )
...
* add value for override of namespace of serviceMonitor
Signed-off-by: Issif <issif+github@gadz.org>
* set version of chart to v2.0.1
Signed-off-by: Issif <issif+github@gadz.org>
2021-08-12 13:14:21 -07:00