Add missing events config
This commit is contained in:
@@ -37,6 +37,15 @@ func StorageUsersConfigFromStruct(cfg *config.Config) map[string]interface{} {
|
||||
"expose_data_server": cfg.ExposeDataServer,
|
||||
"data_server_url": cfg.DataServerURL,
|
||||
"upload_expiration": cfg.UploadExpiration,
|
||||
"events": map[string]interface{}{
|
||||
"nats_address": cfg.Events.Addr,
|
||||
"nats_clusterid": cfg.Events.ClusterID,
|
||||
"tls_insecure": cfg.Events.TLSInsecure,
|
||||
"tls_root_ca_cert": cfg.Events.TLSRootCaCertPath,
|
||||
"nats_enable_tls": cfg.Events.EnableTLS,
|
||||
"nats_username": cfg.Events.AuthUsername,
|
||||
"nats_password": cfg.Events.AuthPassword,
|
||||
},
|
||||
},
|
||||
},
|
||||
"interceptors": map[string]interface{}{
|
||||
|
||||
Reference in New Issue
Block a user