hashicorp / vault-secrets-operator

The Vault Secrets Operator (VSO) allows Pods to consume Vault secrets natively from Kubernetes Secrets.
https://hashicorp.com
Other
430 stars 89 forks source link

Core: delete resource status metrics upon object deletion #815

Closed benashz closed 3 weeks ago

benashz commented 3 weeks ago

Previously, VSO would orphan the controller_resource_status metric for CRs that have been deleted from the cluster. The fix is to delete the metric for the corresponding controller, namespace, and object name.