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
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
Vyankatesh Kudtarkar
cc957e2c6e
fix issue
2021-08-13 14:08:18 +05:30
NoSkillGirl
92d9d634a3
added condition for resource sync
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-13 14:03:09 +05:30
Vyankatesh Kudtarkar
8e2033cc95
fix test case
2021-08-13 10:40:47 +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