mirror of
				https://github.com/fluxcd/flux2.git
				synced 2025-11-04 11:56:11 +08:00 
			
		
		
		
	- change links in cli docs to be relative (making mkdocs AND hugo happy) - run 'make docs' - fix other links Signed-off-by: Daniel Holbach <daniel@weave.works>
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
---
 | 
						|
title: "flux create source command"
 | 
						|
---
 | 
						|
## flux create source
 | 
						|
 | 
						|
Create or update sources
 | 
						|
 | 
						|
### Synopsis
 | 
						|
 | 
						|
The create source sub-commands generate sources.
 | 
						|
 | 
						|
### Options
 | 
						|
 | 
						|
```
 | 
						|
  -h, --help   help for source
 | 
						|
```
 | 
						|
 | 
						|
### Options inherited from parent commands
 | 
						|
 | 
						|
```
 | 
						|
      --context string      kubernetes context to use
 | 
						|
      --export              export in YAML format to stdout
 | 
						|
      --interval duration   source sync interval (default 1m0s)
 | 
						|
      --kubeconfig string   absolute path to the kubeconfig file
 | 
						|
      --label strings       set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2)
 | 
						|
  -n, --namespace string    the namespace scope for this operation (default "flux-system")
 | 
						|
      --timeout duration    timeout for this operation (default 5m0s)
 | 
						|
      --verbose             print generated objects
 | 
						|
```
 | 
						|
 | 
						|
### SEE ALSO
 | 
						|
 | 
						|
* [flux create](../flux_create/)	 - Create or update sources and resources
 | 
						|
* [flux create source bucket](../flux_create_source_bucket/)	 - Create or update a Bucket source
 | 
						|
* [flux create source git](../flux_create_source_git/)	 - Create or update a GitRepository source
 | 
						|
* [flux create source helm](../flux_create_source_helm/)	 - Create or update a HelmRepository source
 | 
						|
 |