mirror of
				https://github.com/fluxcd/flux2.git
				synced 2025-11-01 01:25:53 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## gotk bootstrap
 | |
| 
 | |
| Bootstrap toolkit components
 | |
| 
 | |
| ### Synopsis
 | |
| 
 | |
| The bootstrap sub-commands bootstrap the toolkit components on the targeted Git provider.
 | |
| 
 | |
| ### Options
 | |
| 
 | |
| ```
 | |
|       --arch string                arch can be amd64 or arm64 (default "amd64")
 | |
|       --branch string              default branch (for GitHub this must match the default branch setting for the organization) (default "main")
 | |
|       --components strings         list of components, accepts comma-separated values (default [source-controller,kustomize-controller,helm-controller,notification-controller])
 | |
|   -h, --help                       help for bootstrap
 | |
|       --image-pull-secret string   Kubernetes secret name used for pulling the toolkit images from a private registry
 | |
|       --log-level string           set the controllers log level (default "info")
 | |
|       --network-policy             deny ingress access to the toolkit controllers from other namespaces using network policies (default true)
 | |
|       --registry string            container registry where the toolkit images are published (default "ghcr.io/fluxcd")
 | |
|   -v, --version string             toolkit version (default "latest")
 | |
|       --watch-all-namespaces       watch for custom resources in all namespaces, if set to false it will only watch the namespace where the toolkit is installed (default true)
 | |
| ```
 | |
| 
 | |
| ### Options inherited from parent commands
 | |
| 
 | |
| ```
 | |
|       --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](gotk.md)	 - Command line utility for assembling Kubernetes CD pipelines
 | |
| * [gotk bootstrap github](gotk_bootstrap_github.md)	 - Bootstrap toolkit components in a GitHub repository
 | |
| * [gotk bootstrap gitlab](gotk_bootstrap_gitlab.md)	 - Bootstrap toolkit components in a GitLab repository
 | |
| 
 | 
