pass google credentials env var if using GS bucket

This commit is contained in:
Pavel Tumik 2020-10-14 19:10:25 -07:00
parent 351989ae52
commit 266c6e5442
1 changed files with 4 additions and 0 deletions

View File

@ -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 {