Correct typos in examples
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Helm External Example
|
# Multi-Cluster Helm External Example
|
||||||
|
|
||||||
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application as
|
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application as
|
||||||
packaged as a Helm chart downloaded from a third party source.
|
packaged as a Helm chart downloaded from a third party source.
|
||||||
@@ -17,10 +17,10 @@ metadata:
|
|||||||
name: helm-external
|
name: helm-external
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- helm-external
|
- multi-cluster/helm-external
|
||||||
targetCustomizations:
|
targets:
|
||||||
- name: dev
|
- name: dev
|
||||||
clusterSelector:
|
clusterSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Helm Kustomize Example
|
# Multi-Cluster Helm Kustomize Example
|
||||||
|
|
||||||
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application as
|
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application as
|
||||||
packaged as a Helm chart downloaded from a third party source and will modify the helm chart using Kustomize.
|
packaged as a Helm chart downloaded from a third party source and will modify the helm chart using Kustomize.
|
||||||
@@ -17,10 +17,10 @@ metadata:
|
|||||||
name: helm-kustomize
|
name: helm-kustomize
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- helm-kustomize
|
- multi-cluster/helm-kustomize
|
||||||
targetCustomizations:
|
targets:
|
||||||
- name: dev
|
- name: dev
|
||||||
clusterSelector:
|
clusterSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Helm Example
|
# Multi-Cluster Helm Example
|
||||||
|
|
||||||
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application as
|
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application as
|
||||||
packaged as a Helm chart.
|
packaged as a Helm chart.
|
||||||
@@ -17,10 +17,10 @@ metadata:
|
|||||||
name: helm
|
name: helm
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- helm
|
- multi-cluster/helm
|
||||||
targetCustomizations:
|
targets:
|
||||||
- name: dev
|
- name: dev
|
||||||
clusterSelector:
|
clusterSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Helm Example
|
# Multi-Cluster Kustomize Example
|
||||||
|
|
||||||
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application
|
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application
|
||||||
using kustomize. The app will be deployed into the `fleet-mc-kustomize-example` namespace.
|
using kustomize. The app will be deployed into the `fleet-mc-kustomize-example` namespace.
|
||||||
@@ -16,10 +16,10 @@ metadata:
|
|||||||
name: kustomize
|
name: kustomize
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
bundleDirs:
|
paths:
|
||||||
- kustomize
|
- multi-cluster/kustomize
|
||||||
targetCustomization:
|
targets:
|
||||||
- name: dev
|
- name: dev
|
||||||
clusterSelector:
|
clusterSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
resources:
|
|
||||||
- overlays/dev
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Manifests Example
|
# Multi-Cluster Manifests Example
|
||||||
|
|
||||||
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application.
|
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application.
|
||||||
The app will be deployed into the `fleet-mc-manifest-example` namespace.
|
The app will be deployed into the `fleet-mc-manifest-example` namespace.
|
||||||
@@ -16,10 +16,10 @@ metadata:
|
|||||||
name: manifests
|
name: manifests
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
bundleDirs:
|
paths:
|
||||||
- manifests
|
- multi-cluster/manifests
|
||||||
targetCustomizations:
|
targets:
|
||||||
- name: dev
|
- name: dev
|
||||||
clusterSelector:
|
clusterSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ metadata:
|
|||||||
name: simple
|
name: simple
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- simple
|
- simple
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
name: helm-kustomize
|
name: helm-kustomize
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- helm-kustomize
|
- single-cluster/helm-kustomize
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -7,4 +7,4 @@ namespace: fleet-helm-kustomize-example
|
|||||||
helm:
|
helm:
|
||||||
chart: https://github.com/rancher/fleet-examples/releases/download/example/guestbook-0.0.0.tgz
|
chart: https://github.com/rancher/fleet-examples/releases/download/example/guestbook-0.0.0.tgz
|
||||||
kustomize:
|
kustomize:
|
||||||
dir: ./overlays/dev
|
dir: overlays/dev
|
||||||
|
|||||||
17
single-cluster/helm-multi-chart/README.md
Normal file
17
single-cluster/helm-multi-chart/README.md
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Helm Multi-Chart Example
|
||||||
|
|
||||||
|
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application
|
||||||
|
packaged as a Helm chart into the `fleet-helm-example` namespace.
|
||||||
|
It will also deploy Rancher Monitoring helm charts into the `cattle-monitoring-system` namespace.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
kind: GitRepo
|
||||||
|
apiVersion: fleet.cattle.io/v1alpha1
|
||||||
|
metadata:
|
||||||
|
name: helm
|
||||||
|
namespace: fleet-local
|
||||||
|
spec:
|
||||||
|
repo: https://github.com/rancher/fleet-examples
|
||||||
|
paths:
|
||||||
|
- single-cluster/helm-multi-chart
|
||||||
|
```
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
# Helm Example
|
|
||||||
|
|
||||||
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application as
|
|
||||||
packaged as a Helm chart.
|
|
||||||
The app will be deployed into the `fleet-helm-example` namespace.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
kind: GitRepo
|
|
||||||
apiVersion: fleet.cattle.io/v1alpha1
|
|
||||||
metadata:
|
|
||||||
name: helm
|
|
||||||
namespace: fleet-local
|
|
||||||
spec:
|
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
|
||||||
paths:
|
|
||||||
- single-cluster/helm
|
|
||||||
```
|
|
||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
name: helm
|
name: helm
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- single-cluster/helm
|
- single-cluster/helm
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ metadata:
|
|||||||
name: kustomize
|
name: kustomize
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- single-cluster/kustomize
|
- single-cluster/kustomize
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ metadata:
|
|||||||
name: manifests
|
name: manifests
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- single-cluster/manifests
|
- single-cluster/manifests
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ spec:
|
|||||||
serviceType: NodePort
|
serviceType: NodePort
|
||||||
name: .chart/9c24c039ba1d12c3cf62ee27ea13445e44c58e8d9e1df45d0a94a1bcc5a81566/guestbook/values.yaml
|
name: .chart/9c24c039ba1d12c3cf62ee27ea13445e44c58e8d9e1df45d0a94a1bcc5a81566/guestbook/values.yaml
|
||||||
- content: |
|
- content: |
|
||||||
# Helm External Example
|
# Multi-Cluster Helm External Example
|
||||||
|
|
||||||
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application as
|
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application as
|
||||||
packaged as a Helm chart downloaded from a third party source.
|
packaged as a Helm chart downloaded from a third party source.
|
||||||
@@ -184,10 +184,10 @@ spec:
|
|||||||
name: helm-external
|
name: helm-external
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- helm-external
|
- multi-cluster/helm-external
|
||||||
targetCustomizations:
|
targets:
|
||||||
- name: dev
|
- name: dev
|
||||||
clusterSelector:
|
clusterSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ spec:
|
|||||||
serviceType: NodePort
|
serviceType: NodePort
|
||||||
name: .chart/9c24c039ba1d12c3cf62ee27ea13445e44c58e8d9e1df45d0a94a1bcc5a81566/guestbook/values.yaml
|
name: .chart/9c24c039ba1d12c3cf62ee27ea13445e44c58e8d9e1df45d0a94a1bcc5a81566/guestbook/values.yaml
|
||||||
- content: |
|
- content: |
|
||||||
# Helm Kustomize Example
|
# Multi-Cluster Helm Kustomize Example
|
||||||
|
|
||||||
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application as
|
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application as
|
||||||
packaged as a Helm chart downloaded from a third party source and will modify the helm chart using Kustomize.
|
packaged as a Helm chart downloaded from a third party source and will modify the helm chart using Kustomize.
|
||||||
@@ -184,10 +184,10 @@ spec:
|
|||||||
name: helm-kustomize
|
name: helm-kustomize
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- helm-kustomize
|
- multi-cluster/helm-kustomize
|
||||||
targetCustomizations:
|
targets:
|
||||||
- name: dev
|
- name: dev
|
||||||
clusterSelector:
|
clusterSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ spec:
|
|||||||
appVersion: 0.0.0
|
appVersion: 0.0.0
|
||||||
name: Chart.yaml
|
name: Chart.yaml
|
||||||
- content: |
|
- content: |
|
||||||
# Helm Example
|
# Multi-Cluster Helm Example
|
||||||
|
|
||||||
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application as
|
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application as
|
||||||
packaged as a Helm chart.
|
packaged as a Helm chart.
|
||||||
@@ -35,10 +35,10 @@ spec:
|
|||||||
name: helm
|
name: helm
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- helm
|
- multi-cluster/helm
|
||||||
targetCustomizations:
|
targets:
|
||||||
- name: dev
|
- name: dev
|
||||||
clusterSelector:
|
clusterSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ spec:
|
|||||||
namespace: fleet-mc-kustomize-example
|
namespace: fleet-mc-kustomize-example
|
||||||
resources:
|
resources:
|
||||||
- content: |
|
- content: |
|
||||||
# Helm Example
|
# Multi-Cluster Kustomize Example
|
||||||
|
|
||||||
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application
|
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application
|
||||||
using kustomize. The app will be deployed into the `fleet-mc-kustomize-example` namespace.
|
using kustomize. The app will be deployed into the `fleet-mc-kustomize-example` namespace.
|
||||||
@@ -27,10 +27,10 @@ spec:
|
|||||||
name: kustomize
|
name: kustomize
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
bundleDirs:
|
paths:
|
||||||
- kustomize
|
- multi-cluster/kustomize
|
||||||
targetCustomization:
|
targets:
|
||||||
- name: dev
|
- name: dev
|
||||||
clusterSelector:
|
clusterSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
@@ -216,10 +216,6 @@ spec:
|
|||||||
kustomize:
|
kustomize:
|
||||||
dir: overlays/prod
|
dir: overlays/prod
|
||||||
name: fleet.yaml
|
name: fleet.yaml
|
||||||
- content: |
|
|
||||||
resources:
|
|
||||||
- overlays/dev
|
|
||||||
name: kustomization.yaml
|
|
||||||
- content: |
|
- content: |
|
||||||
resources:
|
resources:
|
||||||
- ../../base
|
- ../../base
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ spec:
|
|||||||
namespace: fleet-mc-manifest-example
|
namespace: fleet-mc-manifest-example
|
||||||
resources:
|
resources:
|
||||||
- content: |
|
- content: |
|
||||||
# Manifests Example
|
# Multi-Cluster Manifests Example
|
||||||
|
|
||||||
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application.
|
This example will deploy the [Kubernetes sample guestbook](https://github.com/kubernetes/examples/tree/master/guestbook/) application.
|
||||||
The app will be deployed into the `fleet-mc-manifest-example` namespace.
|
The app will be deployed into the `fleet-mc-manifest-example` namespace.
|
||||||
@@ -27,10 +27,10 @@ spec:
|
|||||||
name: manifests
|
name: manifests
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
bundleDirs:
|
paths:
|
||||||
- manifests
|
- multi-cluster/manifests
|
||||||
targetCustomizations:
|
targets:
|
||||||
- name: dev
|
- name: dev
|
||||||
clusterSelector:
|
clusterSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
chart: https://github.com/rancher/fleet-examples/releases/download/example/guestbook-0.0.0.tgz
|
chart: https://github.com/rancher/fleet-examples/releases/download/example/guestbook-0.0.0.tgz
|
||||||
kustomize:
|
kustomize:
|
||||||
dir: ./overlays/dev
|
dir: overlays/dev
|
||||||
namespace: fleet-helm-kustomize-example
|
namespace: fleet-helm-kustomize-example
|
||||||
resources:
|
resources:
|
||||||
- content: |
|
- content: |
|
||||||
@@ -180,9 +180,9 @@ spec:
|
|||||||
name: helm-kustomize
|
name: helm-kustomize
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- helm-kustomize
|
- single-cluster/helm-kustomize
|
||||||
```
|
```
|
||||||
name: README.md
|
name: README.md
|
||||||
- content: |
|
- content: |
|
||||||
@@ -195,7 +195,7 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
chart: https://github.com/rancher/fleet-examples/releases/download/example/guestbook-0.0.0.tgz
|
chart: https://github.com/rancher/fleet-examples/releases/download/example/guestbook-0.0.0.tgz
|
||||||
kustomize:
|
kustomize:
|
||||||
dir: ./overlays/dev
|
dir: overlays/dev
|
||||||
name: fleet.yaml
|
name: fleet.yaml
|
||||||
- content: |
|
- content: |
|
||||||
patches:
|
patches:
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -33,7 +33,7 @@ spec:
|
|||||||
name: helm
|
name: helm
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- single-cluster/helm
|
- single-cluster/helm
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ spec:
|
|||||||
name: kustomize
|
name: kustomize
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- single-cluster/kustomize
|
- single-cluster/kustomize
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
name: manifests
|
name: manifests
|
||||||
namespace: fleet-local
|
namespace: fleet-local
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples/
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
- single-cluster/manifests
|
- single-cluster/manifests
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user