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
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
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
Vyankatesh Kudtarkar
71803c46d8
GVK format
2021-08-12 23:26:35 +05:30
shuting
6ba341ff9b
- update Make target; - update release workflow config; - update PR template ( #2257 )
...
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
2021-08-12 09:58:25 -07:00
Shuting Zhao
fb6e0f18ea
release v1.4.2
...
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
2021-08-11 12:48:37 -07:00
Pooja Singh
1fd2509287
Merge pull request #2252 from NoSkillGirl/cleanup/removing_unused_engineresponse_from_CLI
...
Removing `engineresponses` variable from Kyverno CLI
2021-08-11 17:46:52 +05:30
NoSkillGirl
a74dba83aa
removing_unused_engineresponse_from_CLI
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-11 17:16:12 +05:30
Shuting Zhao
7d9c06da81
tag 1.4.2-rc4
...
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
2021-08-10 17:41:22 -07:00
Pooja Singh
f9616cbab1
Removing OwnerReference ( #2251 )
...
* removing OwnerReference
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* removing comments
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-10 17:05:20 -07:00
Vyankatesh Kudtarkar
adb0170001
Automate CLI binaries releases ( #2236 )
...
* fix issue
* fix comment
* fix comment
* fix comment
* add md file
* ignore /release
* fix issue
2021-08-10 09:07:46 -07:00
Yashvardhan Kukreja
08e383a0a3
updated: grafana dashboard json with respect to new set of metrics ( #2244 )
...
Signed-off-by: Yashvardhan Kukreja <yash.kukreja.98@gmail.com>
2021-08-09 15:49:09 -07:00
Chip Zoller
bbee030b75
add platform to bug template ( #2246 )
...
Signed-off-by: Chip Zoller <chipzoller@gmail.com>
2021-08-09 14:37:58 -07:00
Pooja Singh
f23ad925da
updated cli comment ( #2242 )
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-06 17:16:12 -07:00
Adam Kosmin
32d7a4e271
Helm Chart - Network Policy Support ( #2210 )
...
* add network policy resource
* network policy
Co-authored-by: windowsrefund <mac>
2021-08-03 18:19:58 -07:00
Jim Bugwadia
8af814c7af
update cosign to v1.0.0 ( #2221 )
...
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-08-02 13:51:36 -07:00
Pooja Singh
c54e166310
Merge pull request #2224 from NoSkillGirl/2223/cli_set_flag_panic
...
Fix for - CLI panics when variables are passed using `set` flag
2021-08-02 19:24:25 +05:30
NoSkillGirl
15a63c109d
removing context variables from variablesString
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-02 16:45:54 +05:30
NoSkillGirl
05234d94e2
adding variable in context
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-02 16:38:43 +05:30
Pooja Singh
3dd53c6ad2
Merge pull request #2222 from NoSkillGirl/2180_backwards_compatibility
...
Added backward compatibility | Resolving variables from the resource passed | CLI
2021-08-01 23:33:40 +05:30
NoSkillGirl
2eff4f2f3e
added backward compatibility
...
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-08-01 16:27:47 +05:30
Shuting Zhao
a53613ffe2
release v1.4.2-rc3
...
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
2021-07-30 14:04:36 -07:00
treydock
8204028009
Add DurationOperator to handle duration comparison operations ( #2214 )
...
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
2021-07-30 13:11:52 -07:00
Max Goncharenko
922840b344
added deep copy for rule; changed rule deep copy logic ( #2216 )
...
* added deep copy for rule; changed rule deep copy logic
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* fixed linter error
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
2021-07-30 12:07:01 -07:00
Soto Sugita
7215841792
fix table layout ( #2209 )
...
Signed-off-by: Soto Sugita <sotosugi@amazon.co.jp>
2021-07-29 11:47:12 -07:00