1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 07:57:07 +00:00
kyverno/pkg/policymutation
shuting 618a69961e
Disable auto-gen when a rule has mixed of kinds: pod & pod controllers (#1847)
* disable auto-gen when a rule has mixed of kinds: pod & pod controllers

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

* Bugfix :  Make match.resources.kinds required (#1843)

* Fix Dev setup

* make kind required in MatchResources

* add test cases

Co-authored-by: vyankatesh <vyankatesh@neualto.com>

* address PR comments

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

* update background canAutoGen unit tests

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

Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
Co-authored-by: vyankatesh <vyankatesh@neualto.com>
2021-04-29 14:59:37 -07:00
..
cronjob.go Fix #1506; Resolve path reference in entire rule instead of just pattern/overlay 2021-03-16 13:45:40 +02:00
policymutation.go Disable auto-gen when a rule has mixed of kinds: pod & pod controllers (#1847) 2021-04-29 14:59:37 -07:00
policymutation_test.go Disable auto-gen when a rule has mixed of kinds: pod & pod controllers (#1847) 2021-04-29 14:59:37 -07:00