diff --git a/internal/cnpgi/operator/lifecycle_certificates.go b/internal/cnpgi/operator/lifecycle_certificates.go index 5ff3e0b..800612e 100644 --- a/internal/cnpgi/operator/lifecycle_certificates.go +++ b/internal/cnpgi/operator/lifecycle_certificates.go @@ -30,21 +30,6 @@ func (impl LifecycleImplementation) collectAdditionalCertificates( result = append(result, certs...) } - if len(pluginConfiguration.ReplicaSourceBarmanObjectName) > 0 && - pluginConfiguration.ReplicaSourceBarmanObjectName != pluginConfiguration.BarmanObjectName { - envs, err := impl.collectObjectStoreCertificates( - ctx, - types.NamespacedName{ - Name: pluginConfiguration.RecoveryBarmanObjectName, - Namespace: namespace, - }, - ) - if err != nil { - return nil, err - } - result = append(result, envs...) - } - return result, nil }