forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue argoproj#1070 - Handle duplicated resource definitions
- Loading branch information
Alexander Matyushentsev
authored and
Alexander Matyushentsev
committed
Mar 18, 2019
1 parent
baf1579
commit fff9379
Showing
6 changed files
with
151 additions
and
5 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
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
33 changes: 33 additions & 0 deletions
33
test/e2e/functional/duplicated-resources/duplicates-cluster.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,33 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: clusterdummies.argoproj.io | ||
spec: | ||
group: argoproj.io | ||
version: v1alpha1 | ||
scope: Cluster | ||
names: | ||
kind: ClusterDummy | ||
plural: clusterdummies | ||
|
||
|
||
--- | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: ClusterDummy | ||
metadata: | ||
name: cluster-dummy-crd-instance | ||
|
||
--- | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: ClusterDummy | ||
metadata: | ||
name: cluster-dummy-crd-instance | ||
namespace: default | ||
|
||
--- | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: ClusterDummy | ||
metadata: | ||
name: cluster-dummy-crd-instance | ||
namespace: kube-system |
32 changes: 32 additions & 0 deletions
32
test/e2e/functional/duplicated-resources/duplicates-namespaced.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,32 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: dummies.argoproj.io | ||
spec: | ||
group: argoproj.io | ||
version: v1alpha1 | ||
scope: Namespaced | ||
names: | ||
kind: Dummy | ||
plural: dummies | ||
|
||
--- | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Dummy | ||
metadata: | ||
name: dummy-crd-instance | ||
namespace: default | ||
|
||
--- | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Dummy | ||
metadata: | ||
name: dummy-crd-instance | ||
namespace: kube-system | ||
|
||
--- | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Dummy | ||
metadata: | ||
name: dummy-crd-instance |