mirror of
				https://github.com/fluxcd/flux2.git
				synced 2025-10-31 08:17:19 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			44 lines
		
	
	
		
			911 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			911 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## gotk export receiver
 | |
| 
 | |
| Export Receiver resources in YAML format
 | |
| 
 | |
| ### Synopsis
 | |
| 
 | |
| The export receiver command exports one or all Receiver resources in YAML format.
 | |
| 
 | |
| ```
 | |
| gotk export receiver [name] [flags]
 | |
| ```
 | |
| 
 | |
| ### Examples
 | |
| 
 | |
| ```
 | |
|   # Export all Receiver resources
 | |
|   gotk export receiver --all > receivers.yaml
 | |
| 
 | |
|   # Export a Receiver
 | |
|   gotk export receiver main > main.yaml
 | |
| 
 | |
| ```
 | |
| 
 | |
| ### Options
 | |
| 
 | |
| ```
 | |
|   -h, --help   help for receiver
 | |
| ```
 | |
| 
 | |
| ### Options inherited from parent commands
 | |
| 
 | |
| ```
 | |
|       --all                 select all resources
 | |
|       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
 | |
|   -n, --namespace string    the namespace scope for this operation (default "gotk-system")
 | |
|       --timeout duration    timeout for this operation (default 5m0s)
 | |
|       --verbose             print generated objects
 | |
| ```
 | |
| 
 | |
| ### SEE ALSO
 | |
| 
 | |
| * [gotk export](gotk_export.md)	 - Export resources in YAML format
 | |
| 
 | 
