-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAPIResourceSchema.somethings.kro.run.yaml
105 lines (104 loc) · 2.52 KB
/
APIResourceSchema.somethings.kro.run.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
creationTimestamp: null
name: v2024-12-07.somethings.kro.run
spec:
conversion:
strategy: None
group: kro.run
names:
kind: Something
listKind: SomethingList
plural: somethings
singular: something
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: The state of a ResourceGroup instance
jsonPath: .status.state
name: State
type: string
- description: Whether a ResourceGroup instance have all it's subresources ready
jsonPath: .status.conditions[?(@.type=="InstanceSynced")].status
name: Synced
type: string
- description: Age of the resource
jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
properties:
config:
properties:
field:
type: string
field2:
default: 200
type: integer
field3:
default: 2002
type: integer
type: object
element:
default: e
type: string
elements:
default:
- a
- b
- c
- d
items:
type: string
type: array
enabled:
default: true
type: boolean
name:
type: string
number:
default: 100
type: integer
required:
type: integer
required:
- required
type: object
status:
properties:
conditions:
items:
properties:
lastTransitionTime:
type: string
message:
type: string
observedGeneration:
type: integer
reason:
type: string
status:
type: string
type:
type: string
type: object
type: array
state:
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
---