Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clean up of old attributes when containers are not restarting
When a pod crashes while in the process of starting, the operator cleans up outdated attributes in the galera CR status. The operator wrongly assumes that it can probe a container's state as soon as it gets a pod object from the API server, which is not always true (e.g when the pod is in "Pending" state). Fix the attribute clean up by always checking the state of the pod's container before inspecting its container ID. Jira: OSPRH-9411
- Loading branch information