Merge pull request #4 from ron1/use-fleet-default-ns-for-mc-examples
Correct multi-cluster README.md GitRepo manifests to use 'fleet-default' namespace
This commit is contained in:
@@ -15,7 +15,7 @@ kind: GitRepo
|
|||||||
apiVersion: fleet.cattle.io/v1alpha1
|
apiVersion: fleet.cattle.io/v1alpha1
|
||||||
metadata:
|
metadata:
|
||||||
name: helm-external
|
name: helm-external
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ kind: GitRepo
|
|||||||
apiVersion: fleet.cattle.io/v1alpha1
|
apiVersion: fleet.cattle.io/v1alpha1
|
||||||
metadata:
|
metadata:
|
||||||
name: helm-kustomize
|
name: helm-kustomize
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ kind: GitRepo
|
|||||||
apiVersion: fleet.cattle.io/v1alpha1
|
apiVersion: fleet.cattle.io/v1alpha1
|
||||||
metadata:
|
metadata:
|
||||||
name: helm
|
name: helm
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ kind: GitRepo
|
|||||||
apiVersion: fleet.cattle.io/v1alpha1
|
apiVersion: fleet.cattle.io/v1alpha1
|
||||||
metadata:
|
metadata:
|
||||||
name: kustomize
|
name: kustomize
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ kind: GitRepo
|
|||||||
apiVersion: fleet.cattle.io/v1alpha1
|
apiVersion: fleet.cattle.io/v1alpha1
|
||||||
metadata:
|
metadata:
|
||||||
name: manifests
|
name: manifests
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
fleet.cattle.io/commit: fake
|
fleet.cattle.io/commit: fake
|
||||||
name: test
|
name: test
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
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
|
||||||
@@ -182,7 +182,7 @@ spec:
|
|||||||
apiVersion: fleet.cattle.io/v1alpha1
|
apiVersion: fleet.cattle.io/v1alpha1
|
||||||
metadata:
|
metadata:
|
||||||
name: helm-external
|
name: helm-external
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
fleet.cattle.io/commit: fake
|
fleet.cattle.io/commit: fake
|
||||||
name: test
|
name: test
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
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
|
||||||
@@ -182,7 +182,7 @@ spec:
|
|||||||
apiVersion: fleet.cattle.io/v1alpha1
|
apiVersion: fleet.cattle.io/v1alpha1
|
||||||
metadata:
|
metadata:
|
||||||
name: helm-kustomize
|
name: helm-kustomize
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
fleet.cattle.io/commit: fake
|
fleet.cattle.io/commit: fake
|
||||||
name: test
|
name: test
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
spec:
|
||||||
namespace: fleet-mc-helm-example
|
namespace: fleet-mc-helm-example
|
||||||
resources:
|
resources:
|
||||||
@@ -33,7 +33,7 @@ spec:
|
|||||||
apiVersion: fleet.cattle.io/v1alpha1
|
apiVersion: fleet.cattle.io/v1alpha1
|
||||||
metadata:
|
metadata:
|
||||||
name: helm
|
name: helm
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
fleet.cattle.io/commit: fake
|
fleet.cattle.io/commit: fake
|
||||||
name: test
|
name: test
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
spec:
|
||||||
namespace: fleet-mc-kustomize-example
|
namespace: fleet-mc-kustomize-example
|
||||||
resources:
|
resources:
|
||||||
@@ -25,7 +25,7 @@ spec:
|
|||||||
apiVersion: fleet.cattle.io/v1alpha1
|
apiVersion: fleet.cattle.io/v1alpha1
|
||||||
metadata:
|
metadata:
|
||||||
name: kustomize
|
name: kustomize
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
fleet.cattle.io/commit: fake
|
fleet.cattle.io/commit: fake
|
||||||
name: test
|
name: test
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
spec:
|
||||||
namespace: fleet-mc-manifest-example
|
namespace: fleet-mc-manifest-example
|
||||||
resources:
|
resources:
|
||||||
@@ -25,7 +25,7 @@ spec:
|
|||||||
apiVersion: fleet.cattle.io/v1alpha1
|
apiVersion: fleet.cattle.io/v1alpha1
|
||||||
metadata:
|
metadata:
|
||||||
name: manifests
|
name: manifests
|
||||||
namespace: fleet-local
|
namespace: fleet-default
|
||||||
spec:
|
spec:
|
||||||
repo: https://github.com/rancher/fleet-examples
|
repo: https://github.com/rancher/fleet-examples
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ for i in ../multi-cluster/*; do
|
|||||||
for j in dev test prod; do
|
for j in dev test prod; do
|
||||||
mkdir -p ../../tests/output/garbage/${i}
|
mkdir -p ../../tests/output/garbage/${i}
|
||||||
fleet test -l env=${j} > ../../tests/output/garbage/${i}/${j}-output.yaml
|
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
|
done
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user