4ae37c959c02dee7c9c85c4624bf340a7fba8b8f
[icn/sdwan.git] /
1 apiVersion: apiextensions.k8s.io/v1
2 kind: CustomResourceDefinition
3 metadata:
4   name: resourcebundlestates.k8splugin.io
5 spec:
6   group: k8splugin.io
7   names:
8     kind: ResourceBundleState
9     listKind: ResourceBundleStateList
10     plural: resourcebundlestates
11     singular: resourcebundlestate
12   scope: Namespaced
13   versions:
14   - name: v1alpha1
15     schema:
16       openAPIV3Schema:
17         properties:
18           apiVersion:
19             description: 'APIVersion defines the versioned schema of this representation
20             of an object. Servers should convert recognized schemas to the latest
21             internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
22             type: string
23           kind:
24             description: 'Kind is a string value representing the REST resource this
25             object represents. Servers may infer this from the endpoint the client
26               submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
27             type: string
28           metadata:
29             type: object
30           spec:
31             properties:
32               selector:
33                 type: object
34             required:
35             - selector
36             type: object
37           status:
38             properties:
39               podStatuses:
40                 items:
41                   type: object
42                 type: array
43               ready:
44                 type: boolean
45               resourceCount:
46                 format: int32
47                 type: integer
48               serviceStatuses:
49                 items:
50                   type: object
51                 type: array
52               configMapStatuses:
53                 items:
54                   type: object
55                 type: array
56               deploymentStatuses:
57                 items:
58                   type: object
59                 type: array
60               secretStatuses:
61                 items:
62                   type: object
63                 type: array
64               daemonSetStatuses:
65                 items:
66                   type: object
67                 type: array
68               ingressStatuses:
69                 items:
70                   type: object
71                 type: array
72               jobStatuses:
73                 items:
74                   type: object
75                 type: array
76               statefulSetStatuses:
77                 items:
78                   type: object
79                 type: array
80               csrStatuses:
81                 items:
82                   type: object
83                 type: array
84             required:
85             - ready
86             - resourceCount
87             - podStatuses
88             - serviceStatuses
89             - configMapStatuses
90             - deploymentStatuses
91             - secretStatuses
92             - daemonSetStatuses
93             - ingressStatuses
94             - jobStatuses
95             - statefulSetStatuses
96             - csrStatuses
97             type: object
98         type: object
99     served: true
100     storage: true
101     subresources:
102       status: {}