From 266c6e54423098740a6a7d216fcc4a372385fef0 Mon Sep 17 00:00:00 2001 From: Pavel Tumik Date: Wed, 14 Oct 2020 19:10:25 -0700 Subject: [PATCH] pass google credentials env var if using GS bucket --- pkg/cluster/k8sres.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/cluster/k8sres.go b/pkg/cluster/k8sres.go index 2924c49fa..e291dfefa 100644 --- a/pkg/cluster/k8sres.go +++ b/pkg/cluster/k8sres.go @@ -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 {