aboutsummaryrefslogtreecommitdiff
path: root/weed/command/iam.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-03 01:30:35 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-03 01:30:35 -0700
commit3afbf04007eb1e6c7d79e652545d24e7a8e7d509 (patch)
tree48c1a90f0128f1f4e2e8a5b21ab681ad1e168bd6 /weed/command/iam.go
parentfe60c6ef9a09f2190926a49aaf3c15ab29bf5812 (diff)
downloadseaweedfs-3afbf04007eb1e6c7d79e652545d24e7a8e7d509.tar.xz
seaweedfs-3afbf04007eb1e6c7d79e652545d24e7a8e7d509.zip
add TLS grpc support for filer meta clients
Diffstat (limited to 'weed/command/iam.go')
-rw-r--r--weed/command/iam.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/iam.go b/weed/command/iam.go
index 17d0832cb..ed4eea543 100644
--- a/weed/command/iam.go
+++ b/weed/command/iam.go
@@ -49,6 +49,7 @@ func (iamopt *IamOptions) startIamServer() bool {
return false
}
+ util.LoadConfiguration("security", false)
grpcDialOption := security.LoadClientTLS(util.GetViper(), "grpc.client")
for {
err = pb.WithGrpcFilerClient(filerGrpcAddress, grpcDialOption, func(client filer_pb.SeaweedFilerClient) error {