svc-metrics-aggregator-domain-#### remain in PendingorProviderFailed status.kubectl describe pod shows the following error: MountVolume.SetUp failed for volume "metrics-endpoint-downstream-tls-config" : secret "metrics-endpoint-downstream-server-cert" not foundkubectl describe clusterissuer metrics-aggregator-ca-issuer shows: Message: Error getting keypair for CA issuer: secrets "metrics-aggregator-ca-secret" not found Reason: ErrGetKeyPair Status: FalseVCF 9.1
metrics-aggregator 0.1.0
The metrics-aggregator-ca-issuer is a ClusterIssuer, which is cluster-scoped. By design, a ClusterIssuer looks for its referenced CA secret within the namespace where the cert-manager controller is installed (typically vmware-system-cert-manager). If the metrics-aggregator-ca-secret only exists in the local service namespace (svc-metrics-aggregator-domain-####), the issuer fails to initialize.
To resolve this issue, replicate the CA secret into the cert-manager namespace:
cert-manager (usually vmware-system-cert-manager).kubectl get secret metrics-aggregator-ca-secret -n svc-metrics-aggregator-domain-#### -o yaml > ca-secret.yamlca-secret.yaml to change the namespace to vmware-system-cert-manager and remove the uid, resourceVersion, and creationTimestamp fields.kubectl apply -f ca-secret.yamlClusterIssuer should automatically reconcile and sign the missing metrics-endpoint-downstream-server-cert secret.kubectl get pods -n svc-metrics-aggregator-domain-####