Open jangel97 opened 1 year ago
@TheRealHaoLiu what is the expected behavior here?
@jangel97 did you stop or delete the operator before running the oc delete automationcontroller --all -n ansible-automation-platform
?
@jangel97 couldn't reproduce the issue you are getting, with the same OCP & AAP versions. If this is really happening maybe an implementation of finalizers could help .
Please confirm the following
Bug Summary
Hello,
I followed this doc https://access.redhat.com/documentation/en-us/red_hat_ansible_automation_platform/2.4/html/deploying_the_red_hat_ansible_automation_platform_operator_on_openshift_container_platform/installing-aap-operator-cli
If I ran command
oc delete automationcontroller --all
, all the deployments will still remain in my project. Wouldnt it make sense that when I remove the automationcontroller instance all the managed subresources are deleted as well?Kind regards,
AWX Operator version
AAP 2.4
AWX version
AAP 2.4
Kubernetes platform
openshift
Kubernetes/Platform version
openshift 4.13
Modifications
no
Steps to reproduce
Run this command:
Then run this command:
The run this command:
You will see that pods, deployments and replicasets (all the managed subresources are still there).
Expected results
I would expect subresources to be removed.
Actual results
Subresources are not removed
Additional information
No response
Operator Logs
No response