github.com/argoproj/argo-cd/v3@v3.2.1/test/e2e/testdata/crd-creation/crd.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    name: dummies.argoproj.io
     6  spec:
     7    conversion:
     8      strategy: None
     9    group: argoproj.io
    10    names:
    11      kind: Dummy
    12      listKind: DummyList
    13      plural: dummies
    14      singular: dummy
    15    scope: Namespaced
    16    versions:
    17    - name: v1alpha1
    18      served: true
    19      storage: true
    20      schema:
    21        openAPIV3Schema:
    22          type: object
    23          properties:
    24            apiVersion:
    25              type: string
    26            kind:
    27              type: string
    28            metadata:
    29              type: object
    30            spec:
    31              type: object
    32              properties:
    33                cpu:
    34                  type: string
    35                memory:
    36                  type: string
    37  ---
    38  apiVersion: apiextensions.k8s.io/v1
    39  kind: CustomResourceDefinition
    40  metadata:
    41    name: clusterdummies.argoproj.io
    42    labels:
    43      e2e.argoproj.io: "true"
    44  spec:
    45    conversion:
    46      strategy: None
    47    group: argoproj.io
    48    names:
    49      kind: ClusterDummy
    50      listKind: ClusterDummyList
    51      plural: clusterdummies
    52      singular: clusterdummy
    53    scope: Cluster
    54    versions:
    55    - name: v1alpha1
    56      served: true
    57      storage: true
    58      schema:
    59        openAPIV3Schema:
    60          type: object
    61          properties:
    62            apiVersion:
    63              type: string
    64            kind:
    65              type: string
    66            metadata:
    67              type: object
    68            spec:
    69              type: object
    70              x-kubernetes-map-type: atomic
    71              x-kubernetes-preserve-unknown-fields: true