diff --git a/pkg/controller/vault/vault_controller.go b/pkg/controller/vault/vault_controller.go index 2978ae40..a0f602ca 100644 --- a/pkg/controller/vault/vault_controller.go +++ b/pkg/controller/vault/vault_controller.go @@ -652,7 +652,7 @@ func serviceMonitorForVault(v *vaultv1alpha1.Vault) *monitorv1.ServiceMonitor { Labels: ls, }, Spec: monitorv1.ServiceMonitorSpec{ - JobLabel: v.Name, + JobLabel: "vault_cr", Selector: metav1.LabelSelector{ MatchLabels: ls, MatchExpressions: []metav1.LabelSelectorRequirement{