Skip to content

Commit

Permalink
Explicitly disable TLS for the permissions client
Browse files Browse the repository at this point in the history
This is needed as the permission server (provided by the settings service)
is not TLS enabled yet.
  • Loading branch information
rhafer committed Oct 19, 2022
1 parent eaf6629 commit 635352f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/storage-users/pkg/revaconfig/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ func UserDrivers(cfg *config.Config) map[string]interface{} {
"treetime_accounting": true,
"treesize_accounting": true,
"permissionssvc": cfg.Drivers.OCIS.PermissionsEndpoint,
"permissionssvc_tls_mode": "off",
},
"s3": map[string]interface{}{
"enable_home": false,
Expand All @@ -114,6 +115,7 @@ func UserDrivers(cfg *config.Config) map[string]interface{} {
"treetime_accounting": true,
"treesize_accounting": true,
"permissionssvc": cfg.Drivers.S3NG.PermissionsEndpoint,
"permissionssvc_tls_mode": "off",
"s3.region": cfg.Drivers.S3NG.Region,
"s3.access_key": cfg.Drivers.S3NG.AccessKey,
"s3.secret_key": cfg.Drivers.S3NG.SecretKey,
Expand Down

0 comments on commit 635352f

Please sign in to comment.