...
1{
2 "definitions": {
3 "v1alpha1.MyCRD": {
4 "properties": {
5 "apiVersion": {
6 "type": "string"
7 },
8 "kind": {
9 "type": "string"
10 },
11 "metadata": {
12 "type": "object"
13 },
14 "spec": {
15 "properties": {
16 "template": {
17 "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec"
18 }
19 },
20 "type": "object"
21 },
22 "status": {
23 "properties": {
24 "success": {
25 "type": "boolean"
26 }
27 },
28 "type": "object"
29 }
30 },
31 "type": "object",
32 "x-kubernetes-group-version-kind": [
33 {
34 "group": "example.com",
35 "kind": "MyCRD",
36 "version": "v1alpha1"
37 },
38 {
39 "group": "",
40 "kind": "MyCRD",
41 "version": "v1alpha1"
42 }
43 ]
44 },
45 "io.k8s.api.core.v1.PodTemplateSpec": {
46 "properties": {
47 "metadata": {
48 "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"
49 },
50 "spec": {
51 "$ref": "#/definitions/io.k8s.api.core.v1.PodSpec"
52 }
53 },
54 "type": "object"
55 },
56 "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta": {
57 "properties": {
58 "name": {
59 "type": "string"
60 }
61 },
62 "type": "object"
63 },
64 "io.k8s.api.core.v1.PodSpec": {
65 "properties": {
66 "containers": {
67 "items": {
68 "$ref": "#/definitions/io.k8s.api.core.v1.Container"
69 },
70 "type": "array",
71 "x-kubernetes-patch-merge-key": "name",
72 "x-kubernetes-patch-strategy": "merge"
73 }
74 },
75 "type": "object"
76 },
77 "io.k8s.api.core.v1.Container": {
78 "properties": {
79 "command": {
80 "items": {
81 "type": "string"
82 },
83 "type": "array"
84 },
85 "image": {
86 "type": "string"
87 },
88 "name": {
89 "type": "string"
90 },
91 "ports": {
92 "items": {
93 "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort"
94 },
95 "type": "array",
96 "x-kubernetes-list-map-keys": [
97 "containerPort",
98 "protocol"
99 ],
100 "x-kubernetes-list-type": "map",
101 "x-kubernetes-patch-merge-key": "containerPort",
102 "x-kubernetes-patch-strategy": "merge"
103 }
104 },
105 "type": "object"
106 },
107 "io.k8s.api.core.v1.ContainerPort": {
108 "properties": {
109 "containerPort": {
110 "format": "int32",
111 "type": "integer"
112 },
113 "name": {
114 "type": "string"
115 },
116 "protocol": {
117 "type": "string"
118 }
119 },
120 "type": "object"
121 }
122 }
123}
View as plain text