From b3c8ee3d3067c5e07fbeaed6976d0b4a8876d0df Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Tue, 3 May 2022 14:36:18 +0200 Subject: [PATCH] storage sahres config docs --- extensions/storage-shares/pkg/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/storage-shares/pkg/config/config.go b/extensions/storage-shares/pkg/config/config.go index b3c9f908a2..5d6cc84234 100644 --- a/extensions/storage-shares/pkg/config/config.go +++ b/extensions/storage-shares/pkg/config/config.go @@ -20,8 +20,8 @@ type Config struct { SkipUserGroupsInToken bool `yaml:"-"` - ReadOnly bool `yaml:"readonly"` - SharesProviderEndpoint string `yaml:"shares_provider_endpoint"` + ReadOnly bool `yaml:"readonly" env:"STORAGE_SHARES_READ_ONLY"` + SharesProviderEndpoint string `yaml:"user_share_provider_endpoint" env:"STORAGE_SHARES_USER_SHARE_PROVIDER_ENDPOINT"` Supervised bool `yaml:"-"` Context context.Context `yaml:"-"`