Adds multi-gitrepo example
Signed-off-by: Xavi Garcia <xavi.garcia@suse.com>
This commit is contained in:
20
single-cluster/multi-gitrepo/README.md
Normal file
20
single-cluster/multi-gitrepo/README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user