Merge pull request #9452 from kobergj/DeprecateGatewayEnvvars

[docs-only] Deprecate gateway envvars
This commit is contained in:
kobergj
2024-06-24 16:50:03 +02:00
committed by GitHub
3 changed files with 7 additions and 2 deletions
@@ -0,0 +1,5 @@
Enhancement: Deprecate gateway environment variables
Deprecate service specific `_GATEWAY_NAME` env vars. It makes no sense to point one specific service to a different gateway.
https://github.com/owncloud/ocis/pull/9451
+1 -1
View File
@@ -20,7 +20,7 @@ type Config struct {
TokenManager *TokenManager `yaml:"token_manager"`
RevaGateway string `yaml:"reva_gateway" env:"OCIS_REVA_GATEWAY;CLIENTLOG_REVA_GATEWAY" desc:"CS3 gateway used to look up user metadata" introductionVersion:"5.0"`
RevaGateway string `yaml:"reva_gateway" env:"OCIS_REVA_GATEWAY;CLIENTLOG_REVA_GATEWAY" desc:"CS3 gateway used to look up user metadata" introductionVersion:"5.0" deprecationVersion:"6.0" removalVersion:"%%NEXT%%" deprecationInfo:"CLIENTLOG_REVA_GATEWAY removed from simplicity."`
Events Events `yaml:"events"`
ServiceAccount ServiceAccount `yaml:"service_account"`
+1 -1
View File
@@ -8,7 +8,7 @@ type CS3Api struct {
// Gateway defines the available configuration for the CS3 API gateway
type Gateway struct {
Name string `yaml:"name" env:"OCIS_REVA_GATEWAY;COLLABORATION_CS3API_GATEWAY_NAME" desc:"The service name of the CS3API gateway." introductionVersion:"6.0.0"`
Name string `yaml:"name" env:"OCIS_REVA_GATEWAY;COLLABORATION_CS3API_GATEWAY_NAME" desc:"The service name of the CS3API gateway." introductionVersion:"6.0.0" deprecationVersion:"6.0" removalVersion:"%%NEXT%%" deprecationInfo:"COLLABORATION_CS3API_GATEWAY_NAME removed from simplicity."`
}
// DataGateway defines the available configuration for the CS3 API data gateway