Skip to content

Commit 2eb8e57

Browse files
author
Alexander Bondarev
committed
Add support for Google storage type.
1 parent 418a85d commit 2eb8e57

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

9.6/templates/pghoard.json.tmpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@
3838
"is_secure": "{{getenv "AWS_IS_SECURE"}}",
3939
{{end}}
4040
"bucket_name":"{{getenv "AWS_BUCKETNAME"}}"
41+
{{else if eq $storage_type "google"}}
42+
"storage_type": "google",
43+
"project_id": "{{getenv "GCE_PROJECT_ID"}}",
44+
"bucket_name": "{{getenv "GCE_BUCKET_NAME"}}",
45+
"credential_file": "{{getenv "GCE_CREDENTIAL_FILE"}}"
4146
{{else if eq $storage_type "swift"}}
4247
"storage_type": "swift",
4348
"user":"{{getenv "OS_USERNAME"}}",

0 commit comments

Comments
 (0)