Update generated CLI/CRD reference

This commit is contained in:
Mario Manno 2023-10-06 11:38:37 +02:00
parent 25f4339bdb
commit c9fa14e89a
6 changed files with 586 additions and 543 deletions

View File

@ -20,6 +20,5 @@ fleet-agent [flags]
-h, --help help for fleet-agent -h, --help help for fleet-agent
--kubeconfig string kubeconfig file --kubeconfig string kubeconfig file
--namespace string namespace to watch --namespace string namespace to watch
--simulators int Numbers of simulators to run
``` ```

View File

@ -25,5 +25,6 @@ fleet [flags]
### SEE ALSO ### SEE ALSO
* [fleet apply](./fleet_apply) - Render a bundle into a Kubernetes resource and apply it in the Fleet Manager * [fleet apply](./fleet_apply) - Render a bundle into a Kubernetes resource and apply it in the Fleet Manager
* [fleet cleanup](./fleet_cleanup) - Clean up outdated cluster registrations
* [fleet test](./fleet_test) - Match a bundle to a target and render the output * [fleet test](./fleet_test) - Match a bundle to a target and render the output

View File

@ -13,24 +13,30 @@ fleet apply [flags] BUNDLE_NAME PATH...
### Options ### Options
``` ```
-b, --bundle-file string Location of the raw Bundle resource yaml -b, --bundle-file string Location of the raw Bundle resource yaml
--cacerts-file string Path of custom cacerts for helm repo --cacerts-file string Path of custom cacerts for helm repo
--commit string Commit to assign to the bundle --commit string Commit to assign to the bundle
-c, --compress Force all resources to be compress -c, --compress Force all resources to be compress
--debug Turn on debug logging --correct-drift Rollback any change made from outside of Fleet
--debug-level int If debugging is enabled, set klog -v=X --correct-drift-force Use --force when correcting drift. Resources can be deleted and recreated
-f, --file string Location of the fleet.yaml --correct-drift-keep-fail-history Keep helm history for failed rollbacks
-h, --help help for apply --debug Turn on debug logging
-l, --label strings Labels to apply to created bundles --debug-level int If debugging is enabled, set klog -v=X
-o, --output string Output contents to file or - for stdout -f, --file string Location of the fleet.yaml
--password-file string Path of file containing basic auth password for helm repo --helm-credentials-by-path-file string Path of file containing helm credentials for paths
--paused Create bundles in a paused state --helm-repo-url-regex string Helm credentials will be used if the helm repo matches this regex. Credentials will always be used if this is empty or not provided
-a, --service-account string Service account to assign to bundle created -h, --help help for apply
--ssh-privatekey-file string Path of ssh-private-key for helm repo --keep-resources Keep resources created after the GitRepo or Bundle is deleted
--sync-generation int Generation number used to force sync the deployment -l, --label strings Labels to apply to created bundles
--target-namespace string Ensure this bundle goes to this target namespace -o, --output string Output contents to file or - for stdout
--targets-file string Addition source of targets and restrictions to be append --password-file string Path of file containing basic auth password for helm repo
--username string Basic auth username for helm repo --paused Create bundles in a paused state
-a, --service-account string Service account to assign to bundle created
--ssh-privatekey-file string Path of ssh-private-key for helm repo
--sync-generation int Generation number used to force sync the deployment
--target-namespace string Ensure this bundle goes to this target namespace
--targets-file string Addition source of targets and restrictions to be append
--username string Basic auth username for helm repo
``` ```
### Options inherited from parent commands ### Options inherited from parent commands

View File

@ -0,0 +1,36 @@
---
title: ""
sidebar_label: "fleet cleanup"
---
## fleet cleanup
Clean up outdated cluster registrations
```
fleet cleanup [flags]
```
### Options
```
--debug Turn on debug logging
--debug-level int If debugging is enabled, set klog -v=X
--factor string Factor to increase delay between deletes (default: 1.1)
-h, --help help for cleanup
--max string Maximum delay between deletes (default: 5s)
--min string Minimum delay between deletes (default: 10ms)
```
### Options inherited from parent commands
```
--context string kubeconfig context for authentication
-k, --kubeconfig string kubeconfig for authentication
-n, --namespace string namespace (default "fleet-local")
--system-namespace string System namespace of the controller (default "cattle-fleet-system")
```
### SEE ALSO
* [fleet](./fleet) -

View File

@ -15,7 +15,7 @@ fleet-manager [flags]
``` ```
--debug Turn on debug logging --debug Turn on debug logging
--debug-level int If debugging is enabled, set klog -v=X --debug-level int If debugging is enabled, set klog -v=X
--disable-bootstrap disable agent on local cluster --disable-bootstrap disable local cluster components
--disable-gitops disable gitops components --disable-gitops disable gitops components
-h, --help help for fleet-manager -h, --help help for fleet-manager
--kubeconfig string Kubeconfig file --kubeconfig string Kubeconfig file

File diff suppressed because it is too large Load Diff