mirror of
				https://github.com/fluxcd/flux2.git
				synced 2025-11-01 01:25:53 +08:00 
			
		
		
		
	 45240bdb71
			
		
	
	45240bdb71
	
	
	
		
			
			This means all the sub-subcommands can drop the `image-` prefix,
making them shorter and more fluent.
E.g.,
    flux create image policy
rather than
    flux create auto image-policy
Signed-off-by: Michael Bridgen <michael@weave.works>
		
	
		
			
				
	
	
	
		
			1.7 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.7 KiB
		
	
	
	
	
	
	
	
flux create
Create or update sources and resources
Synopsis
The create sub-commands generate sources and resources.
Options
      --export              export in YAML format to stdout
  -h, --help                help for create
      --interval duration   source sync interval (default 1m0s)
      --label strings       set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2)
Options inherited from parent commands
      --context string      kubernetes context to use
      --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
  -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 - Command line utility for assembling Kubernetes CD pipelines
- flux create alert - Create or update a Alert resource
- flux create alert-provider - Create or update a Provider resource
- flux create helmrelease - Create or update a HelmRelease resource
- flux create image - Create or update resources dealing with image automation
- flux create kustomization - Create or update a Kustomization resource
- flux create receiver - Create or update a Receiver resource
- flux create secret - Create or update Kubernetes secrets
- flux create source - Create or update sources
- flux create tenant - Create or update a tenant