Merge pull request #281 from rancher/bundle-cli

Add note about Fleet CLI deploy
This commit is contained in:
Mario Manno 2025-07-02 18:12:21 +02:00 committed by GitHub
commit 30de09abb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -4,8 +4,13 @@ Bundles are automatically created by Fleet when a `GitRepo` is created. In most
manually by the user. If you want to deploy resources from a git repository use a manually by the user. If you want to deploy resources from a git repository use a
[GitRepo](https://fleet.rancher.io/gitrepo-add) instead. [GitRepo](https://fleet.rancher.io/gitrepo-add) instead.
If you want to deploy resources without a git repository follow this guide to create a `Bundle`. If you want to deploy resources without a git repository follow this guide to create a `Bundle`.
:::note
If you want to deploy resources without running a Fleet controller, also take a look at the [Fleet CLI](ref-bundle-stages#examining-the-bundle-lifecycle-with-the-cli).
:::
When creating a `GitRepo` Fleet will fetch the resources from a git repository, and add them to a Bundle. When creating a `GitRepo` Fleet will fetch the resources from a git repository, and add them to a Bundle.
When creating a `Bundle` resources need to be explicitly specified in the `Bundle` Spec. When creating a `Bundle` resources need to be explicitly specified in the `Bundle` Spec.
Resources can be compressed with gz. See [here](https://github.com/rancher/rancher/blob/main/pkg/controllers/provisioningv2/managedchart/managedchart.go#L149-L153) Resources can be compressed with gz. See [here](https://github.com/rancher/rancher/blob/main/pkg/controllers/provisioningv2/managedchart/managedchart.go#L149-L153)