Skip to content

Commit

Permalink
Merge pull request rancher#4 from ron1/use-fleet-default-ns-for-mc-ex…
Browse files Browse the repository at this point in the history
…amples

Correct multi-cluster README.md GitRepo manifests to use 'fleet-default' namespace
  • Loading branch information
StrongMonkey authored Feb 12, 2021
2 parents 7032141 + 5c6a933 commit 6b2bad1
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion multi-cluster/helm-external/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ kind: GitRepo
apiVersion: fleet.cattle.io/v1alpha1
metadata:
name: helm-external
namespace: fleet-local
namespace: fleet-default
spec:
repo: https://github.com/rancher/fleet-examples
paths:
Expand Down
2 changes: 1 addition & 1 deletion multi-cluster/helm-kustomize/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ kind: GitRepo
apiVersion: fleet.cattle.io/v1alpha1
metadata:
name: helm-kustomize
namespace: fleet-local
namespace: fleet-default
spec:
repo: https://github.com/rancher/fleet-examples
paths:
Expand Down
2 changes: 1 addition & 1 deletion multi-cluster/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ kind: GitRepo
apiVersion: fleet.cattle.io/v1alpha1
metadata:
name: helm
namespace: fleet-local
namespace: fleet-default
spec:
repo: https://github.com/rancher/fleet-examples
paths:
Expand Down
2 changes: 1 addition & 1 deletion multi-cluster/kustomize/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ kind: GitRepo
apiVersion: fleet.cattle.io/v1alpha1
metadata:
name: kustomize
namespace: fleet-local
namespace: fleet-default
spec:
repo: https://github.com/rancher/fleet-examples
paths:
Expand Down
2 changes: 1 addition & 1 deletion multi-cluster/manifests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ kind: GitRepo
apiVersion: fleet.cattle.io/v1alpha1
metadata:
name: manifests
namespace: fleet-local
namespace: fleet-default
spec:
repo: https://github.com/rancher/fleet-examples
paths:
Expand Down
4 changes: 2 additions & 2 deletions tests/expected/multi-cluster/helm-external/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
fleet.cattle.io/commit: fake
name: test
namespace: fleet-local
namespace: fleet-default
spec:
helm:
chart: https://github.com/rancher/fleet-examples/releases/download/example/guestbook-0.0.0.tgz
Expand Down Expand Up @@ -182,7 +182,7 @@ spec:
apiVersion: fleet.cattle.io/v1alpha1
metadata:
name: helm-external
namespace: fleet-local
namespace: fleet-default
spec:
repo: https://github.com/rancher/fleet-examples
paths:
Expand Down
4 changes: 2 additions & 2 deletions tests/expected/multi-cluster/helm-kustomize/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
fleet.cattle.io/commit: fake
name: test
namespace: fleet-local
namespace: fleet-default
spec:
helm:
chart: https://github.com/rancher/fleet-examples/releases/download/example/guestbook-0.0.0.tgz
Expand Down Expand Up @@ -182,7 +182,7 @@ spec:
apiVersion: fleet.cattle.io/v1alpha1
metadata:
name: helm-kustomize
namespace: fleet-local
namespace: fleet-default
spec:
repo: https://github.com/rancher/fleet-examples
paths:
Expand Down
4 changes: 2 additions & 2 deletions tests/expected/multi-cluster/helm/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
fleet.cattle.io/commit: fake
name: test
namespace: fleet-local
namespace: fleet-default
spec:
namespace: fleet-mc-helm-example
resources:
Expand Down Expand Up @@ -33,7 +33,7 @@ spec:
apiVersion: fleet.cattle.io/v1alpha1
metadata:
name: helm
namespace: fleet-local
namespace: fleet-default
spec:
repo: https://github.com/rancher/fleet-examples
paths:
Expand Down
4 changes: 2 additions & 2 deletions tests/expected/multi-cluster/kustomize/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
fleet.cattle.io/commit: fake
name: test
namespace: fleet-local
namespace: fleet-default
spec:
namespace: fleet-mc-kustomize-example
resources:
Expand All @@ -25,7 +25,7 @@ spec:
apiVersion: fleet.cattle.io/v1alpha1
metadata:
name: kustomize
namespace: fleet-local
namespace: fleet-default
spec:
repo: https://github.com/rancher/fleet-examples
paths:
Expand Down
4 changes: 2 additions & 2 deletions tests/expected/multi-cluster/manifests/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
fleet.cattle.io/commit: fake
name: test
namespace: fleet-local
namespace: fleet-default
spec:
namespace: fleet-mc-manifest-example
resources:
Expand All @@ -25,7 +25,7 @@ spec:
apiVersion: fleet.cattle.io/v1alpha1
metadata:
name: manifests
namespace: fleet-local
namespace: fleet-default
spec:
repo: https://github.com/rancher/fleet-examples
paths:
Expand Down
2 changes: 1 addition & 1 deletion tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ for i in ../multi-cluster/*; do
for j in dev test prod; do
mkdir -p ../../tests/output/garbage/${i}
fleet test -l env=${j} > ../../tests/output/garbage/${i}/${j}-output.yaml
fleet apply -o - test > ../../tests/output/garbage/${i}/bundle.yaml
fleet apply -n fleet-default -o - test > ../../tests/output/garbage/${i}/bundle.yaml
done
popd
done
Expand Down

0 comments on commit 6b2bad1

Please sign in to comment.