clusterlink-net / clusterlink

A Gateway for connecting application services in different domains, networks, and cloud infrastructures
https://clusterlink.net
Other
17 stars 18 forks source link

Send attributes of source workload to remote peer #609

Closed zivnevo closed 1 month ago

zivnevo commented 1 month ago

Fixes #293

elevran commented 1 month ago

where does the collection of attributes done?

zivnevo commented 1 month ago

where does the collection of attributes done?

Currently it is done on the peer at the client-workload side when authorizing the egress request (Manager::authorizeEgress). We may decide to move it to another function/struct when there is enough "beef" around it. The idea behind this PR is that both peers will use exactly the same set of attributes for the source workload.

orozery commented 1 month ago

Sorry, closed by mistake. Re-opened.

elevran commented 1 month ago

so this just makes sure we send/use the attributes and does not affect which are collect, right?

zivnevo commented 1 month ago

so this just makes sure we send/use the attributes and does not affect which are collect, right?

right