mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-09 09:17:27 +00: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>
45 lines
2.5 KiB
Markdown
45 lines
2.5 KiB
Markdown
---
|
|
title: "flux bootstrap command"
|
|
---
|
|
## flux bootstrap
|
|
|
|
Bootstrap toolkit components
|
|
|
|
### Synopsis
|
|
|
|
The bootstrap sub-commands bootstrap the toolkit components on the targeted Git provider.
|
|
|
|
### Options
|
|
|
|
```
|
|
--branch string default branch (for GitHub this must match the default branch setting for the organization) (default "main")
|
|
--cluster-domain string internal cluster domain (default "cluster.local")
|
|
--components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,helm-controller,notification-controller])
|
|
--components-extra strings list of components in addition to those supplied or defaulted, accepts comma-separated values
|
|
-h, --help help for bootstrap
|
|
--image-pull-secret string Kubernetes secret name used for pulling the toolkit images from a private registry
|
|
--log-level logLevel log level, available options are: (debug, info, error) (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")
|
|
--token-auth when enabled, the personal access token will be used instead of SSH deploy key
|
|
--toleration-keys strings list of toleration keys used to schedule the components pods onto nodes with matching taints
|
|
-v, --version string toolkit version, when specified the manifests are downloaded from https://github.com/fluxcd/flux2/releases
|
|
--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
|
|
|
|
```
|
|
--context string kubernetes context to use
|
|
--kubeconfig string absolute path to the kubeconfig file
|
|
-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](../flux/) - Command line utility for assembling Kubernetes CD pipelines
|
|
* [flux bootstrap github](../flux_bootstrap_github/) - Bootstrap toolkit components in a GitHub repository
|
|
* [flux bootstrap gitlab](../flux_bootstrap_gitlab/) - Bootstrap toolkit components in a GitLab repository
|
|
|