mirror of
				https://github.com/siderolabs/talos.git
				synced 2025-10-31 00:11:36 +01:00 
			
		
		
		
	Introduce a new resource, `SiderolinkConfig`, to store SideroLink connection configuration (api endpoint for now). Introduce a controller for this resource which populates it from the Kernel cmdline. Rework the SideroLink `ManagerController` to take this new resource as input and reconfigure the link on changes. Additionally, if the siderolink connection is lost, reconnect to it and reconfigure the links/addresses. Closes siderolabs/talos#7142, siderolabs/talos#7143. Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
		
			
				
	
	
		
			12 lines
		
	
	
		
			270 B
		
	
	
	
		
			Protocol Buffer
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			270 B
		
	
	
	
		
			Protocol Buffer
		
	
	
		
			Executable File
		
	
	
	
	
| syntax = "proto3";
 | |
| 
 | |
| package talos.resource.definitions.siderolink;
 | |
| 
 | |
| option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/siderolink";
 | |
| 
 | |
| // ConfigSpec describes KubeSpan configuration..
 | |
| message ConfigSpec {
 | |
|   string api_endpoint = 1;
 | |
| }
 | |
| 
 |