-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update e2e examples to use placement (#353)
Update ansible examples to use placement Signed-off-by: Jonathan Marcantonio <jmarcant@redhat.com>
- Loading branch information
1 parent
6a2ac11
commit fa39a85
Showing
22 changed files
with
253 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: cluster.open-cluster-management.io/v1beta2 | ||
kind: ManagedClusterSetBinding | ||
metadata: | ||
name: default | ||
namespace: default | ||
spec: | ||
clusterSet: default |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: cluster.open-cluster-management.io/v1beta1 | ||
kind: Placement | ||
metadata: | ||
name: non-local-cluster | ||
namespace: default | ||
spec: | ||
# apply to 1 cluster whoevers name not local-cluster | ||
numberOfClusters: 1 | ||
clusterSets: | ||
- default | ||
predicates: | ||
- requiredClusterSelector: | ||
labelSelector: | ||
matchExpressions: | ||
- key: name | ||
operator: "NotIn" | ||
values: | ||
- local-cluster |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
examples/ansible-pre-workflow/appsub/01-clustersetbinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: cluster.open-cluster-management.io/v1beta2 | ||
kind: ManagedClusterSetBinding | ||
metadata: | ||
name: default | ||
namespace: default | ||
spec: | ||
clusterSet: default |
14 changes: 0 additions & 14 deletions
14
examples/ansible-pre-workflow/appsub/01-placement-rule.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: cluster.open-cluster-management.io/v1beta1 | ||
kind: Placement | ||
metadata: | ||
name: non-local-cluster | ||
namespace: default | ||
spec: | ||
# apply to 1 cluster whoevers name not local-cluster | ||
numberOfClusters: 1 | ||
clusterSets: | ||
- default | ||
predicates: | ||
- requiredClusterSelector: | ||
labelSelector: | ||
matchExpressions: | ||
- key: name | ||
operator: "NotIn" | ||
values: | ||
- local-cluster |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: cluster.open-cluster-management.io/v1beta2 | ||
kind: ManagedClusterSetBinding | ||
metadata: | ||
name: default | ||
namespace: default | ||
spec: | ||
clusterSet: default |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: cluster.open-cluster-management.io/v1beta1 | ||
kind: Placement | ||
metadata: | ||
name: non-local-cluster | ||
namespace: default | ||
spec: | ||
# apply to 1 cluster whoevers name not local-cluster | ||
numberOfClusters: 1 | ||
clusterSets: | ||
- default | ||
predicates: | ||
- requiredClusterSelector: | ||
labelSelector: | ||
matchExpressions: | ||
- key: name | ||
operator: "NotIn" | ||
values: | ||
- local-cluster |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: cluster.open-cluster-management.io/v1beta2 | ||
kind: ManagedClusterSetBinding | ||
metadata: | ||
name: default | ||
namespace: default | ||
spec: | ||
clusterSet: default |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: cluster.open-cluster-management.io/v1beta1 | ||
kind: Placement | ||
metadata: | ||
name: non-local-cluster | ||
namespace: default | ||
spec: | ||
# apply to 1 cluster whoevers name not local-cluster | ||
numberOfClusters: 1 | ||
clusterSets: | ||
- default | ||
predicates: | ||
- requiredClusterSelector: | ||
labelSelector: | ||
matchExpressions: | ||
- key: name | ||
operator: "NotIn" | ||
values: | ||
- local-cluster |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.