github.com/argoproj/argo-cd/v2@v2.10.5/test/e2e/testdata/crd-subresource/crd.yaml (about) 1 apiVersion: apiextensions.k8s.io/v1 2 kind: CustomResourceDefinition 3 metadata: 4 name: statussubresources.argoproj.io 5 spec: 6 conversion: 7 strategy: None 8 group: argoproj.io 9 names: 10 kind: StatusSubResource 11 listKind: StatusSubResourceList 12 plural: statussubresources 13 singular: statussubresource 14 scope: Namespaced 15 versions: 16 - name: v1alpha1 17 served: true 18 storage: true 19 subresources: 20 status: {} 21 schema: 22 openAPIV3Schema: 23 type: object 24 properties: 25 apiVersion: 26 type: string 27 kind: 28 type: string 29 metadata: 30 type: object 31 spec: 32 type: object 33 x-kubernetes-map-type: atomic 34 x-kubernetes-preserve-unknown-fields: true 35 properties: 36 foo: 37 type: string 38 status: 39 type: object 40 x-kubernetes-map-type: atomic 41 x-kubernetes-preserve-unknown-fields: true 42 properties: 43 bar: 44 type: string 45 46 --- 47 apiVersion: apiextensions.k8s.io/v1 48 kind: CustomResourceDefinition 49 metadata: 50 name: nonstatussubresources.argoproj.io 51 spec: 52 conversion: 53 strategy: None 54 group: argoproj.io 55 names: 56 kind: NonStatusSubResource 57 listKind: NonStatusSubResourceList 58 plural: nonstatussubresources 59 singular: nonstatussubresource 60 scope: Namespaced 61 versions: 62 - name: v1alpha1 63 served: true 64 storage: true 65 schema: 66 openAPIV3Schema: 67 type: object 68 properties: 69 apiVersion: 70 type: string 71 kind: 72 type: string 73 metadata: 74 type: object 75 spec: 76 type: object 77 x-kubernetes-map-type: atomic 78 x-kubernetes-preserve-unknown-fields: true 79 properties: 80 foo: 81 type: string 82 status: 83 type: object 84 x-kubernetes-map-type: atomic 85 x-kubernetes-preserve-unknown-fields: true 86 properties: 87 bar: 88 type: string