1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 01:46:55 +00:00
kyverno/cmd/cli/kubectl-kyverno/apply
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_command.go adding --warn-exit-code flag (#5577) 2022-12-05 18:15:22 +00:00
apply_command_test.go To support gitURLs for "apply" command (#4502) 2022-12-02 14:33:04 +00:00
generate.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
generate_test.go refactor cli code from pkg to cmd (#3591) 2022-04-14 12:20:18 +00:00
report.go refactor: remove policyreport package (#5174) 2022-11-02 09:06:44 +00:00
report_test.go adding --audit-warn flag (#5321) 2022-11-21 14:21:32 +00:00