From d30e776deb713a9f2d7472dceb00b1ea4de0e47b Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Tue, 16 Nov 2021 14:54:44 +0100 Subject: [PATCH] add more OCIS_URL missing spots in storage --- storage/pkg/config/config.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/storage/pkg/config/config.go b/storage/pkg/config/config.go index 6776b9a8a..545d01557 100644 --- a/storage/pkg/config/config.go +++ b/storage/pkg/config/config.go @@ -1031,5 +1031,21 @@ func structMappings(cfg *Config) []shared.EnvBinding { EnvVars: []string{"STORAGE_SHARING_USER_JSON_FILE"}, Destination: &cfg.Reva.Sharing.UserJSONFile, }, + { + EnvVars: []string{"OCIS_URL", "STORAGE_FRONTEND_PUBLIC_URL"}, + Destination: &cfg.Reva.Frontend.PublicURL, + }, + { + EnvVars: []string{"OCIS_URL", "STORAGE_OIDC_ISSUER"}, + Destination: &cfg.Reva.OIDC.Issuer, + }, + { + EnvVars: []string{"OCIS_URL", "STORAGE_LDAP_IDP"}, + Destination: &cfg.Reva.LDAP.IDP, + }, + { + EnvVars: []string{"OCIS_URL", "STORAGE_USERPROVIDER_OWNCLOUDSQL_IDP"}, + Destination: &cfg.Reva.UserOwnCloudSQL.Idp, + }, } }