Skip to content

Commit

Permalink
event config
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <[email protected]>
  • Loading branch information
kobergj committed Jan 20, 2023
1 parent e209413 commit c25973d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions services/storage-users/pkg/revaconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ 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,
"nats_enable_tls": cfg.Events.EnableTLS,
"tls_insecure": cfg.Events.TLSInsecure,
"tls_root_ca_cert": cfg.Events.TLSRootCaCertPath,
},
},
},
"interceptors": map[string]interface{}{
Expand Down

0 comments on commit c25973d

Please sign in to comment.