Is your feature request related to a problem?
Currently, when a PolicyServer resource is deleted, all the policies scheduled on top of it are deleted.
This can be surprising to an user and could cause data loss.
Solution you'd like
When a Policy Server is removed, all the policies scheduled on top of it should be left untouched. Their status should transition automatically to "pending" state.
Alternatives you've considered
No response
Anything else?
This is going to help when we will change our deployment from having 3 different helm charts to have a single one.
During the upgrade the user must delete the 3 helm charts installations and then install the new one. During this transition all the user policies are going to be removed from etcd, which is quite a disservice.
Is your feature request related to a problem?
Currently, when a PolicyServer resource is deleted, all the policies scheduled on top of it are deleted.
This can be surprising to an user and could cause data loss.
Solution you'd like
When a Policy Server is removed, all the policies scheduled on top of it should be left untouched. Their status should transition automatically to "pending" state.
Alternatives you've considered
No response
Anything else?
This is going to help when we will change our deployment from having 3 different helm charts to have a single one.
During the upgrade the user must delete the 3 helm charts installations and then install the new one. During this transition all the user policies are going to be removed from etcd, which is quite a disservice.