1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg/engine/variables
Tobias Dahlberg 19f0e7ebfe
fix: add parsing of json pointers to support special chars (#3578 #3616) (#4767)
* Added jsonpointer package that supports parsing of paths and JSON pointers that can yield either a JSON pointer string or JMESPath string.
* Replaced the use of `strings.Split` and `strings.Join` in places where paths are converted to JMESPaths.

Signed-off-by: Tobias Dahlberg <tobias.dahlberg@sinch.com>

Signed-off-by: Tobias Dahlberg <tobias.dahlberg@sinch.com>
Co-authored-by: shuting <shuting@nirmata.com>
Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
2022-11-10 16:03:45 +00:00
..
operator refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
evaluate.go update log levels (#4286) 2022-08-02 10:57:25 +05:30
evaluate_test.go add package logger in files (#4766) 2022-10-02 19:45:03 +00:00
variables_test.go add package logger in files (#4766) 2022-10-02 19:45:03 +00:00
vars.go fix: add parsing of json pointers to support special chars (#3578 #3616) (#4767) 2022-11-10 16:03:45 +00:00
vars_test.go fix: add parsing of json pointers to support special chars (#3578 #3616) (#4767) 2022-11-10 16:03:45 +00:00