1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 07:57:07 +00:00
kyverno/pkg/engine/validate
Jim Bugwadia 838d02c475
Bugfix/659 support wildcards for namespaces (#871)
* - support wildcards for namespaces

* do not annotate resource, unless policy is an autogen policy

* close HTTP body

* improve messages

* remove policy store

Policy store was not fully implemented and simply provided a way
to list all polices and get a policy by name, which can be done via
standard client-go interfaces.

We need to revisit and design a better PolicyStore that provides fast
lookups for matching policies based on names, namespaces, etc.

* handle wildcard namespaces in background processing

* fix unit tests 1) remove platform dependent path usage 2) remove policy store

* add test case for mutate with wildcard namespaces
2020-05-26 10:36:56 -07:00
..
common.go CR comments 2020-02-18 18:25:41 -08:00
pattern.go logs & access 2020-03-17 11:05:20 -07:00
pattern_test.go refactor logging 2020-03-17 16:25:34 -07:00
validate.go Bugfix/659 support wildcards for namespaces (#871) 2020-05-26 10:36:56 -07:00
validate_test.go Fix conflict 2020-03-27 14:10:21 +05:30