Update example to add target on git repo

This commit is contained in:
Daishan
2020-09-11 14:57:00 -07:00
committed by Denise
parent 14b81f64b5
commit 556d18c26b
5 changed files with 75 additions and 0 deletions

View File

@@ -20,4 +20,19 @@ spec:
repo: https://github.com/rancher/fleet-examples/
bundleDirs:
- helm-external
targets:
- name: dev
clusterSelector:
matchLabels:
env: dev
- name: test
clusterSelector:
matchLabels:
env: test
- name: prod
clusterSelector:
matchLabels:
env: prod
```

View File

@@ -20,4 +20,19 @@ spec:
repo: https://github.com/rancher/fleet-examples/
bundleDirs:
- helm-kustomize
targets:
- name: dev
clusterSelector:
matchLabels:
env: dev
- name: test
clusterSelector:
matchLabels:
env: test
- name: prod
clusterSelector:
matchLabels:
env: prod
```

View File

@@ -20,4 +20,19 @@ spec:
repo: https://github.com/rancher/fleet-examples/
bundleDirs:
- helm
targets:
- name: dev
clusterSelector:
matchLabels:
env: dev
- name: test
clusterSelector:
matchLabels:
env: test
- name: prod
clusterSelector:
matchLabels:
env: prod
```

View File

@@ -19,4 +19,19 @@ spec:
repo: https://github.com/rancher/fleet-examples/
bundleDirs:
- kustomize
targets:
- name: dev
clusterSelector:
matchLabels:
env: dev
- name: test
clusterSelector:
matchLabels:
env: test
- name: prod
clusterSelector:
matchLabels:
env: prod
```

View File

@@ -19,4 +19,19 @@ spec:
repo: https://github.com/rancher/fleet-examples/
bundleDirs:
- manifests
targets:
- name: dev
clusterSelector:
matchLabels:
env: dev
- name: test
clusterSelector:
matchLabels:
env: test
- name: prod
clusterSelector:
matchLabels:
env: prod
```