feat!: probes generate their own keys and enroll with a join token; node and peer keys are separate [CI]
ci/woodpecker/push/main-amd64-build Pipeline was successful
ci/woodpecker/push/main-amd64-build Pipeline was successful
This commit is contained in:
1 parent
1ff847e45a
commit
a9f562441f
51 files changed
+505
-749
No files matched your search
@@ -18,7 +18,11 @@ public static class GatewayServiceCollectionExtensions
|
||||
services.AddSingleton<IAgentGateway, FleetGateway>();
|
||||
services.AddHostedService<ConnectionShutdown>();
|
||||
services.AddFleetEnrollment();
|
||||
services.AddFleetServer(options => options.NodeIdPrefix = AgentIds.Prefix)
|
||||
services.AddFleetServer(options =>
|
||||
{
|
||||
options.NodeIdPrefix = AgentIds.Prefix;
|
||||
options.NodeIdPrefixes[JoinTokenService.ProbeRole] = ProbeId.Prefix;
|
||||
})
|
||||
.AddState<TaskSetStateProvider>()
|
||||
.AddState<ProbeAgentsStateProvider>()
|
||||
.AddInbox<RawChunkInbox>()
|
||||
|
||||
Reference in new issue
Block a user