1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
Commit graph

3733 commits

Author SHA1 Message Date
shuting
3c48fd9c81
release v1.5.3-rc1 (#2919)
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2022-01-06 18:35:36 +08:00
Kumar Mallikarjuna
f78b007b58 Fix TLS inconsitency in HA (#2910)
* Fix TLS inconsitency in HA

Signed-off-by: Kumar Mallikarjuna <kumar@nirmata.com>

* Add error checks

Signed-off-by: Kumar Mallikarjuna <kumar@nirmata.com>

* Remove rendundant err definitions

Signed-off-by: Kumar Mallikarjuna <kumar@nirmata.com>

* Handle all Secret errors

Signed-off-by: Kumar Mallikarjuna <kumar@nirmata.com>
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2022-01-06 17:43:22 +08:00
Anushka Mittal
0b77b8f635 added check for any/all (#2907)
* added check for any/all

Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>

* minor corrections

Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2022-01-06 17:43:22 +08:00
ShutingZhao
4f301da57d update CLI test to test against 1.5 sample policies
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2022-01-06 17:43:22 +08:00
shuting
d79e9ff618 cherry pick #2902
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2022-01-06 17:43:22 +08:00
ShutingZhao
30ca165ba1 fix import path
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2022-01-06 17:43:22 +08:00
shuting
f6500973d8 cherry pick #2890
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2022-01-06 17:43:22 +08:00
shuting
3e149daeba don't generate policy report on managed pod/job (#2889)
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2022-01-06 17:43:22 +08:00
Prateek Pandey
7bdbcbd457 cherry pick #2875
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2022-01-06 17:43:22 +08:00
Vyankatesh Kudtarkar
3ba03446a4 2460: Add wildcard support for match label selector (#2832)
* add wildcard support for match label selector

* fix comment

* update cluster role label

* fix comment

* fix comment

* add support for key label selector

* update  method name

Co-authored-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: shuting <shutting06@gmail.com>
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2022-01-06 17:43:22 +08:00
treydock
f2d37aa467 Ensure Helm chart networkpolicy is valid by default (#2827)
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>

Co-authored-by: shuting <shutting06@gmail.com>
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2022-01-06 17:43:22 +08:00
shuting
d96da73460
fix policy report reconciliation on resource/policy deletion (#2610) (#2886) 2021-12-28 17:14:42 +00:00
Kumar Mallikarjuna
46fa62a181
Upgraded dependencies (#2870)
Signed-off-by: Kumar Mallikarjuna <kumar@nirmata.com>
2021-12-24 10:43:51 +08:00
shuting
a4cd3a571f
feat: shift sigs and sbom (#2845)
Signed-off-by: ShubhamPalriwala <spalriwalau@gmail.com>

Co-authored-by: ShubhamPalriwala <spalriwalau@gmail.com>
2021-12-17 17:05:39 -08:00
shuting
c876298c5d
release v1.5.2 (#2815)
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2021-12-10 04:02:34 +00:00
ShutingZhao
ad3603b652 release v1.5.2-rc5
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2021-12-09 16:22:01 +08:00
Joel Kamp
ede98c889d
fix: update registry credentials on verify (#2802)
Signed-off-by: Joel Kamp <joel.kamp@invitae.com>

Co-authored-by: Jim Bugwadia <jim@nirmata.com>
2021-12-09 09:25:50 +08:00
Vyankatesh Kudtarkar
ea5046310f update label for fetching kyverno cluster role 2021-12-07 18:59:52 +08:00
ShutingZhao
83ef767f39 tag v1.5.2-rc4
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-12-07 18:59:52 +08:00
Vyankatesh Kudtarkar
30eed7a798 cherry pick #2776
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-12-07 18:59:52 +08:00
shuting
4d01f3ed96
Release 1.5.2-rc3 (#2785)
* switched to default serve mux (#2592)

Signed-off-by: Siddharth Lal <siddharthlal25@gmail.com>

* publish image on new tags

Signed-off-by: ShutingZhao <shutting06@gmail.com>

* release v1.5.2-rc3

Signed-off-by: ShutingZhao <shutting06@gmail.com>

Co-authored-by: Siddharth Lal <siddharthlal25@gmail.com>
2021-12-03 14:28:20 +05:30
Vyankatesh Kudtarkar
22c06c13ac
Fix issue-1490 (#2784) 2021-12-03 12:34:07 +08:00
shuting
6cdf1110b4
change matchGVK logic (#2736) (#2771)
* change matchGVK logic

* fix issue

* add testcases

* add testcase core

* format code

* fix comment

Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
2021-11-30 12:51:30 +00:00
shuting
dc2bc73598
release v1.5.2-rc2 (#2770)
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-11-30 08:16:25 +00:00
ShutingZhao
7be4f2996f fix the build error
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-11-30 15:35:56 +08:00
Jim Bugwadia
a8fd23ee97 cherry pick #2740
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-11-30 15:35:56 +08:00
Marcus Noble
1e183626ce Handle reports with missing result property (#2696)
* Handle reports with missing result property

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>

* Make use of type structs

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>

* Fix import

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>

* Fix cast from map to struct

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-11-30 15:35:56 +08:00
Jim Bugwadia
ed58e78302
fix package vulnerabilities (#2768)
* fix package vulnerabilities

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* force update

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* update workflows

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* update workflows

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* update Go version

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* disable FOSSA check

Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-11-30 13:51:45 +08:00
Jim Bugwadia
48f8733c50 fix attestations signature
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-11-18 18:04:36 -08:00
Vyankatesh Kudtarkar
be4d0cf31c
fix hardcoded clusterrole name issue (#2728) 2021-11-16 19:29:07 +08:00
ShutingZhao
54cb50bc9d release v1.5.2-rc1
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-11-16 10:35:35 +08:00
ShutingZhao
b5497f377c add delay in e2e test
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-11-16 09:04:34 +08:00
Kumar Mallikarjuna
135afbb1be cherry-pick #2563 to fix unit test failure
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-11-13 11:41:25 -08:00
Marcus Noble
218ee9027f Handle durations with standard comparison operators (#2569)
* Handle durations with standard comparison operators

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>

* Fix error strings

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>

* Added CLI tests for duration operations

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>

* Added tests with different units

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-11-11 15:29:18 -08:00
Kumar Mallikarjuna
c873e188c8 Merge pull request #2560 from AverageMarcus/compare_quantities
Added support for comparing resource quantities
2021-11-11 15:28:30 -08:00
Jim Bugwadia
8d53428de2 Fix image var in cmdline (#2673)
* add image substitution

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* rm foreach test

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* add error checks

Signed-off-by: ShutingZhao <shutting06@gmail.com>

Co-authored-by: ShutingZhao <shutting06@gmail.com>
2021-11-11 15:13:56 -08:00
shuting
e494b06fd7 cherry-pick 0f0c070072
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-11-11 14:59:26 -08:00
shuting
b4e136f103 cherry-pick 04189e450c
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-11-11 14:58:14 -08:00
Kumar Mallikarjuna
c09e6c9fa9 Add nil checks in custom deep copy function (#2664)
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
2021-11-11 14:56:47 -08:00
Vyankatesh Kudtarkar
a2c98cbbb5 bug fix : Kyverno policies block uninstall of Kyverno (#2659)
* bug fix uninstall kyverno  issue

* rename the methods
2021-11-11 14:56:27 -08:00
treydock
4a2d3f07e3 cherry-pick 6c46ffffd9
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-11-11 14:55:44 -08:00
Kumar Mallikarjuna
cbcb474c8c Fix deep copy methods (#2651)
* Fix deep copy methods

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Implemented deep copy for apiextensions.JSON

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Resolve redundant type assertions

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
2021-11-11 14:54:19 -08:00
Jim Bugwadia
ed4dea41f4 re-apply policies to managed pods (#2648)
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2021-11-11 14:53:57 -08:00
Jim Bugwadia
f08bf6110f cherry-pick https://github.com/kyverno/kyverno/pull/2647
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-11-11 14:53:07 -08:00
Jim Bugwadia
8eba759eda Merge pull request #2643 from yashvardhan-kukreja/issue-2629/metrics-result-fix-up
Fix: RuleResult label to be correctly populated while registering respective metrics
2021-11-11 14:40:31 -08:00
Kumar Mallikarjuna
39a0fe6632 Change split return from []string to []interface{} (#2604)
Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>
2021-11-11 14:37:12 -08:00
shuting
1ebf2723b2 cherry-pick ddab7a3a66
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-11-11 14:36:22 -08:00
Shubham Palriwala
6e58ed1cb0
update in-toto package (#2679)
Signed-off-by: ShubhamPalriwala <spalriwalau@gmail.com>
2021-11-05 10:23:46 +01:00
ShutingZhao
b5e17ee05f tag v1.5.1
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-10-25 21:50:54 -07:00
shuting
66ad838252 update Golang base image to 1.17.2 (#2596)
Signed-off-by: ShutingZhao <shutting06@gmail.com>
2021-10-25 21:42:24 -07:00