We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 491b8fc commit 5c9432aCopy full SHA for 5c9432a
1 file changed
pkg/cluster/k8sres.go
@@ -1973,6 +1973,12 @@ func (c *Cluster) generatePgbackrestCloneConfigVolumes(description *cpov1.CloneD
1973
},
1974
1975
}
1976
+ if description.Pgbackrest.Configuration.Secret != "" {
1977
+ volumes[0].VolumeSource.Secret = &v1.SecretVolumeSource{
1978
+ SecretName: description.Pgbackrest.Configuration.Secret,
1979
+ DefaultMode: &defaultMode,
1980
+ }
1981
1982
1983
if description.Pgbackrest.Repo.Storage == "pvc" && description.ClusterName != "" {
1984
// Cloning from another cluster, mount that clusters certs
0 commit comments