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