Open elvis-cai opened 1 year ago
@elvis-cai Thanks for reporting this issue and apologies for this inconvenience you are facing. This does sound like a bug within how we're handling our finalizers, as the deletion of the Program should fail if it is being managed by a Stack. Thanks for reporting this!
Where can one look to try fix this issue in the code?
What happened?
we are using inline program yaml and stack in the gitops repo, we using it to create network and Kubernetes clusters, it works perfectly, however when we want to do some cleanup, we found we can not delete program and stack at the same time, just wonder should stack uses
ownerReferences
to block child program deleted immedicately?here's the log from operator
Expected Behavior
stack should be cleaned up in kubernetes however it can not due to can not find program
Steps to reproduce
apply both yaml files
kubectl apply -f program.yaml
andkubectl apply -f stack.yaml
wait and until it worksstart to cleanup and stack and not be deleted.
kubectl delete -f program.yaml && kubectl delete -f stack.yaml
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).