Files
fleet-examples/single-cluster/multi-gitrepo/README.md
Xavi Garcia d3302d3c4b Adds multi-gitrepo example
Signed-off-by: Xavi Garcia <xavi.garcia@suse.com>
2024-04-05 12:35:52 +02:00

21 lines
668 B
Markdown

# Multi-GitRepo example
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application using 2 different `GitRepo CRs`, splitting the frontend and the backend as different Helm charts.
The initial `GitRepo` will point to a folder containing 2 `GitRepo` resources that will be deployed in cascade.
The app will be deployed into the `fleet-helm-example` namespace.
```yaml
kind: GitRepo
apiVersion: fleet.cattle.io/v1alpha1
metadata:
name: multi-gitrepo
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples
paths:
- single-cluster/multi-gitrepos/gitrepos
```