mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 20:41:34 +02:00
pass google credentials env var if using GS bucket
This commit is contained in:
@@ -1766,6 +1766,10 @@ func (c *Cluster) generateCloneEnvironment(description *acidv1.CloneDescription)
|
||||
Name: "CLONE_WAL_GS_BUCKET",
|
||||
Value: c.OpConfig.WALGSBucket,
|
||||
},
|
||||
{
|
||||
Name: "CLONE_GOOGLE_APPLICATION_CREDENTIALS",
|
||||
Value: c.OpConfig.GCPCredentials,
|
||||
},
|
||||
}
|
||||
result = append(result, envs...)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user