From 00fd7cdba1ff3851d40c103d8ef3f04c0b43150a Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Thu, 3 Feb 2022 16:45:24 +0100 Subject: [PATCH] add STORAGE_PERMISSION_ENDPOINT env variable --- storage/pkg/config/config.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/storage/pkg/config/config.go b/storage/pkg/config/config.go index f2c7c2f01..1b0651721 100644 --- a/storage/pkg/config/config.go +++ b/storage/pkg/config/config.go @@ -1764,5 +1764,11 @@ func structMappings(cfg *Config) []shared.EnvBinding { EnvVars: []string{"STORAGE_METADATA_DRIVER_S3NG_BUCKET"}, Destination: &cfg.Reva.MetadataStorage.S3NG.Bucket, }, + + // permissions + { + EnvVars: []string{"STORAGE_PERMISSIONS_ENDPOINT"}, + Destination: &cfg.Reva.Permissions.Endpoint, + }, } }