Skip to content

Commit

Permalink
Merge pull request rancher#2 from ron1/fix-typos-in-examples
Browse files Browse the repository at this point in the history
Correct typos in examples
  • Loading branch information
ibuildthecloud authored Dec 2, 2020
2 parents c39b923 + ade52e7 commit c102702
Show file tree
Hide file tree
Showing 24 changed files with 110 additions and 149 deletions.
8 changes: 4 additions & 4 deletions multi-cluster/helm-external/README.md
Original file line number Diff line number Diff line change
@@ -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
packaged as a Helm chart downloaded from a third party source.
Expand All @@ -17,10 +17,10 @@ metadata:
name: helm-external
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
repo: https://github.com/rancher/fleet-examples
paths:
- helm-external
targetCustomizations:
- multi-cluster/helm-external
targets:
- name: dev
clusterSelector:
matchLabels:
Expand Down
8 changes: 4 additions & 4 deletions multi-cluster/helm-kustomize/README.md
Original file line number Diff line number Diff line change
@@ -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
packaged as a Helm chart downloaded from a third party source and will modify the helm chart using Kustomize.
Expand All @@ -17,10 +17,10 @@ metadata:
name: helm-kustomize
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
repo: https://github.com/rancher/fleet-examples
paths:
- helm-kustomize
targetCustomizations:
- multi-cluster/helm-kustomize
targets:
- name: dev
clusterSelector:
matchLabels:
Expand Down
8 changes: 4 additions & 4 deletions multi-cluster/helm/README.md
Original file line number Diff line number Diff line change
@@ -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
packaged as a Helm chart.
Expand All @@ -17,10 +17,10 @@ metadata:
name: helm
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
repo: https://github.com/rancher/fleet-examples
paths:
- helm
targetCustomizations:
- multi-cluster/helm
targets:
- name: dev
clusterSelector:
matchLabels:
Expand Down
10 changes: 5 additions & 5 deletions multi-cluster/kustomize/README.md
Original file line number Diff line number Diff line change
@@ -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
using kustomize. The app will be deployed into the `fleet-mc-kustomize-example` namespace.
Expand All @@ -16,10 +16,10 @@ metadata:
name: kustomize
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
bundleDirs:
- kustomize
targetCustomization:
repo: https://github.com/rancher/fleet-examples
paths:
- multi-cluster/kustomize
targets:
- name: dev
clusterSelector:
matchLabels:
Expand Down
2 changes: 0 additions & 2 deletions multi-cluster/kustomize/kustomization.yaml

This file was deleted.

10 changes: 5 additions & 5 deletions multi-cluster/manifests/README.md
Original file line number Diff line number Diff line change
@@ -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.
The app will be deployed into the `fleet-mc-manifest-example` namespace.
Expand All @@ -16,10 +16,10 @@ metadata:
name: manifests
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
bundleDirs:
- manifests
targetCustomizations:
repo: https://github.com/rancher/fleet-examples
paths:
- multi-cluster/manifests
targets:
- name: dev
clusterSelector:
matchLabels:
Expand Down
2 changes: 1 addition & 1 deletion simple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
name: simple
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
repo: https://github.com/rancher/fleet-examples
paths:
- simple
```
4 changes: 2 additions & 2 deletions single-cluster/helm-kustomize/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
name: helm-kustomize
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
repo: https://github.com/rancher/fleet-examples
paths:
- helm-kustomize
- single-cluster/helm-kustomize
```
2 changes: 1 addition & 1 deletion single-cluster/helm-kustomize/fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ namespace: fleet-helm-kustomize-example
helm:
chart: https://github.com/rancher/fleet-examples/releases/download/example/guestbook-0.0.0.tgz
kustomize:
dir: ./overlays/dev
dir: overlays/dev
17 changes: 17 additions & 0 deletions single-cluster/helm-multi-chart/README.md
Original file line number Diff line number Diff line change
@@ -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
```
17 changes: 0 additions & 17 deletions single-cluster/helm-multi-chart/guestbook/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion single-cluster/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
name: helm
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
repo: https://github.com/rancher/fleet-examples
paths:
- single-cluster/helm
```
2 changes: 1 addition & 1 deletion single-cluster/kustomize/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
name: kustomize
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
repo: https://github.com/rancher/fleet-examples
paths:
- single-cluster/kustomize
```
2 changes: 1 addition & 1 deletion single-cluster/manifests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
name: manifests
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
repo: https://github.com/rancher/fleet-examples
paths:
- single-cluster/manifests
```
8 changes: 4 additions & 4 deletions tests/expected/multi-cluster/helm-external/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ spec:
serviceType: NodePort
name: .chart/9c24c039ba1d12c3cf62ee27ea13445e44c58e8d9e1df45d0a94a1bcc5a81566/guestbook/values.yaml
- 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
packaged as a Helm chart downloaded from a third party source.
Expand All @@ -184,10 +184,10 @@ spec:
name: helm-external
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
repo: https://github.com/rancher/fleet-examples
paths:
- helm-external
targetCustomizations:
- multi-cluster/helm-external
targets:
- name: dev
clusterSelector:
matchLabels:
Expand Down
8 changes: 4 additions & 4 deletions tests/expected/multi-cluster/helm-kustomize/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ spec:
serviceType: NodePort
name: .chart/9c24c039ba1d12c3cf62ee27ea13445e44c58e8d9e1df45d0a94a1bcc5a81566/guestbook/values.yaml
- 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
packaged as a Helm chart downloaded from a third party source and will modify the helm chart using Kustomize.
Expand All @@ -184,10 +184,10 @@ spec:
name: helm-kustomize
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
repo: https://github.com/rancher/fleet-examples
paths:
- helm-kustomize
targetCustomizations:
- multi-cluster/helm-kustomize
targets:
- name: dev
clusterSelector:
matchLabels:
Expand Down
8 changes: 4 additions & 4 deletions tests/expected/multi-cluster/helm/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
appVersion: 0.0.0
name: Chart.yaml
- 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
packaged as a Helm chart.
Expand All @@ -35,10 +35,10 @@ spec:
name: helm
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
repo: https://github.com/rancher/fleet-examples
paths:
- helm
targetCustomizations:
- multi-cluster/helm
targets:
- name: dev
clusterSelector:
matchLabels:
Expand Down
14 changes: 5 additions & 9 deletions tests/expected/multi-cluster/kustomize/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
namespace: fleet-mc-kustomize-example
resources:
- content: |
# Helm Example
# Multi-Cluster Kustomize Example
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.
Expand All @@ -27,10 +27,10 @@ spec:
name: kustomize
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
bundleDirs:
- kustomize
targetCustomization:
repo: https://github.com/rancher/fleet-examples
paths:
- multi-cluster/kustomize
targets:
- name: dev
clusterSelector:
matchLabels:
Expand Down Expand Up @@ -216,10 +216,6 @@ spec:
kustomize:
dir: overlays/prod
name: fleet.yaml
- content: |
resources:
- overlays/dev
name: kustomization.yaml
- content: |
resources:
- ../../base
Expand Down
10 changes: 5 additions & 5 deletions tests/expected/multi-cluster/manifests/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
namespace: fleet-mc-manifest-example
resources:
- content: |
# Manifests Example
# Multi-Cluster Manifests Example
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.
Expand All @@ -27,10 +27,10 @@ spec:
name: manifests
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
bundleDirs:
- manifests
targetCustomizations:
repo: https://github.com/rancher/fleet-examples
paths:
- multi-cluster/manifests
targets:
- name: dev
clusterSelector:
matchLabels:
Expand Down
8 changes: 4 additions & 4 deletions tests/expected/single-cluster/helm-kustomize/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
helm:
chart: https://github.com/rancher/fleet-examples/releases/download/example/guestbook-0.0.0.tgz
kustomize:
dir: ./overlays/dev
dir: overlays/dev
namespace: fleet-helm-kustomize-example
resources:
- content: |
Expand Down Expand Up @@ -180,9 +180,9 @@ spec:
name: helm-kustomize
namespace: fleet-local
spec:
repo: https://github.com/rancher/fleet-examples/
repo: https://github.com/rancher/fleet-examples
paths:
- helm-kustomize
- single-cluster/helm-kustomize
```
name: README.md
- content: |
Expand All @@ -195,7 +195,7 @@ spec:
helm:
chart: https://github.com/rancher/fleet-examples/releases/download/example/guestbook-0.0.0.tgz
kustomize:
dir: ./overlays/dev
dir: overlays/dev
name: fleet.yaml
- content: |
patches:
Expand Down
Loading

0 comments on commit c102702

Please sign in to comment.