github.com/argoproj/argo-cd/v3@v3.2.1/test/e2e/testdata/duplicated-resources/duplicates-cluster.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    name: clusterdummies.argoproj.io
     6    labels:
     7      e2e.argoproj.io: "true"
     8    annotations:
     9      # This needs to be synced first so that Argo CD knows these are cluster-scoped resources.
    10      argocd.argoproj.io/sync-wave: "-1"
    11  spec:
    12    conversion:
    13      strategy: None
    14    group: argoproj.io
    15    names:
    16      kind: ClusterDummy
    17      listKind: ClusterDummyList
    18      plural: clusterdummies
    19      singular: clusterdummy
    20    scope: Cluster
    21    versions:
    22    - name: v1alpha1
    23      served: true
    24      storage: true
    25      schema:
    26        openAPIV3Schema:
    27          type: object
    28          properties:
    29            apiVersion:
    30              type: string
    31            kind:
    32              type: string
    33            metadata:
    34              type: object
    35            spec:
    36              type: object
    37              x-kubernetes-map-type: atomic
    38              x-kubernetes-preserve-unknown-fields: true
    39  
    40  ---
    41  apiVersion: argoproj.io/v1alpha1
    42  kind: ClusterDummy
    43  metadata:
    44    name: cluster-dummy-crd-instance
    45  
    46  ---
    47  apiVersion: argoproj.io/v1alpha1
    48  kind: ClusterDummy
    49  metadata:
    50    name: cluster-dummy-crd-instance
    51    namespace: default
    52  
    53  ---
    54  apiVersion: argoproj.io/v1alpha1
    55  kind: ClusterDummy
    56  metadata:
    57    name: cluster-dummy-crd-instance
    58    namespace: kube-system