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
|
||||
metadata:
|
||||
name: helm-external
|
||||
namespace: fleet-local
|
||||
namespace: fleet-default
|
||||
spec:
|
||||
repo: https://github.com/rancher/fleet-examples
|
||||
paths:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user