1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00
kyverno/cmd/cli/kubectl-kyverno
Steven Lahouchuc 022243a0fd
adding --warn-exit-code flag (#5577)
* adding --warn-exit-code flag

Signed-off-by: Steven Lahouchuc <stelah1423@gmail.com>

* tweaking flag to int

Signed-off-by: Steven Lahouchuc <stelah1423@gmail.com>

* Update cmd/cli/kubectl-kyverno/apply/apply_command.go

No shorthand needed - IntVar is a better choice

Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Steven Lahouchuc <stelah1423@gmail.com>

* Update cmd/cli/kubectl-kyverno/apply/apply_command.go

prevent a hard exit if 0

Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Steven Lahouchuc <stelah1423@gmail.com>

* making struct field private

Signed-off-by: Steven Lahouchuc <stelah1423@gmail.com>

Signed-off-by: Steven Lahouchuc <stelah1423@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-12-05 18:15:22 +00:00
..
apply adding --warn-exit-code flag (#5577) 2022-12-05 18:15:22 +00:00
jp refactor: cli jp command (#5552) 2022-12-03 19:18:01 +01:00
oci feat: create a policy utils package (#5473) 2022-11-25 13:46:02 +01:00
test refactor: cli test command (#5550) 2022-12-03 19:56:09 +01:00
utils To support gitURLs for "apply" command (#4502) 2022-12-02 14:33:04 +00:00
version refactor cli code from pkg to cmd (#3591) 2022-04-14 12:20:18 +00:00
main.go feat: oci pull/push support for policie(s) (#5026) 2022-10-24 18:47:20 +00:00