mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-12 05:33:11 +01:00
fix: rebase
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
This commit is contained in:
parent
86e7377ef9
commit
d72adbe810
@ -30,21 +30,6 @@ func (impl LifecycleImplementation) collectAdditionalCertificates(
|
|||||||
result = append(result, certs...)
|
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
|
return result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user