cass-operator
cass-operator copied to clipboard
If PodDeletionTimestamp != nil, return Pod state as being Terminating
What this PR does: Modify the metrics state of the pods to return Terminating if DeletionTimestamp is not nil and we are not decommissioning it.
Which issue(s) this PR fixes:
Fixes #
Checklist
- [ ] Changes manually tested
- [x] Automated Tests added/updated
- [ ] Documentation added/updated
- [ ] CHANGELOG.md updated (not required for documentation PRs)
- [x] CLA Signed: DataStax CLA
No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged