Database backup failed for component vidb. Please retry the operation or contact support if the issue persists.kubectl exec -n vidb-external vidb-postgres-instance-0 -c postgres -- cat /tls/tls.crt | openssl x509 -noout -textDNS:vidb-postgres-instance.vidb-external.svc
DNS:vidb-postgres-instance.vidb-external.svc.cluster.local
DNS:vidb-postgres-instance-pooler.vidb-external.svc
DNS:vidb-postgres-instance-pooler.vidb-external.svc.cluster.local
DNS:pgbackup-vidb-postgres-instance.vidb-external.svc.cluster.localIn affected environments, the entry DNS:pgbackup-vidb-postgres-instance.vidb-external.svc.cluster.local is missing from the certificate.VMware Cloud Foundation 9.1
The backup failure occurs because the Postgres certificate lacks the necessary Subject Alternative Name (SAN) required for the backup sidecar to communicate securely within the cluster.
This prevents the backup process from authenticating correctly with the database instance.
Recover the secret by following these steps:
kubectl delete secret vidb-postgres-instance-postgres-cert-secret -n vidb-externalkubectl exec -c postgres vidb-postgres-instance-0 -n vidb-external -- cat /tls/tls.crt | openssl x509 -noout -textsecret vidb-postgres-instance-postgres-cert-secret is created:kubectl get secret -n vidb-externalIf is not created automatically:secret vidb-postgres-instance-postgres-cert-secret
Please refer to Pods in namespace "vidb-external" failed to start due to missing secret "vidb-postgres-instance-postgres-cert-secret for further analysis and resolution.