1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-14 03:38:48 +00:00
kyverno/.github
Mike Bryant 91021b65b6
fix: Delete downstream objects on precondition fail (#7496)
* fix: Delete downstream objects on precondition fail

When a rule fails the match in a generate rule, the downstream resource gets deleted. This will now also happen if the rule is skipped due to a precondition.

Signed-off-by: Mike Bryant <mike.bryant@mettle.co.uk>

* add debug command

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* sync trigger updates to downstream

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix bgscan fetching trigger

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: Move rbac change into tests for better isolation

Signed-off-by: Mike Bryant <mike.bryant@mettle.co.uk>

* fix unit test

Signed-off-by: ShutingZhao <shuting@nirmata.com>

---------

Signed-off-by: Mike Bryant <mike.bryant@mettle.co.uk>
Signed-off-by: ShutingZhao <shuting@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
2023-06-15 11:32:19 -04:00
..
actions fix: Delete downstream objects on precondition fail (#7496) 2023-06-15 11:32:19 -04:00
ISSUE_TEMPLATE update version drop-downs (#7333) 2023-05-30 21:54:35 +00:00
workflows chore(deps): bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 (#7511) 2023-06-13 08:29:47 +00:00
cherry-pick-bot.yml chore: preserve pr title in cherry picks (#4573) 2022-09-09 18:03:43 +00:00
config.yml Fixed a typo in config file (#2407) 2021-09-20 15:04:16 -07:00
dependabot.yaml chore: disable dependabot auto rebase (#5567) 2022-12-05 13:48:28 +00:00
pr_documentation.md Update pr_documentation.md (#4361) 2022-08-21 22:05:00 +00:00
PULL_REQUEST_TEMPLATE.md Template updates (#4150) 2022-06-23 13:33:22 +00:00
semantic.yml remove arm from goreleaser (#903) 2020-06-04 11:45:37 -07:00