Skip to content

Commit 5a72862

Browse files
committed
Add generated nmstate types
1 parent f82fd0b commit 5a72862

File tree

60 files changed

+16943
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+16943
-0
lines changed

generated/nmstate/.crds/nmstate.io_nmstates.yaml

Lines changed: 4091 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.17.1
7+
name: nodenetworkconfigurationenactments.nmstate.io
8+
spec:
9+
group: nmstate.io
10+
names:
11+
kind: NodeNetworkConfigurationEnactment
12+
listKind: NodeNetworkConfigurationEnactmentList
13+
plural: nodenetworkconfigurationenactments
14+
shortNames:
15+
- nnce
16+
singular: nodenetworkconfigurationenactment
17+
scope: Cluster
18+
versions:
19+
- additionalPrinterColumns:
20+
- description: Status
21+
jsonPath: .status.conditions[?(@.status=="True")].type
22+
name: Status
23+
type: string
24+
- description: Status Age
25+
jsonPath: .status.conditions[?(@.status=="True")].lastTransitionTime
26+
name: Status Age
27+
type: date
28+
- description: Reason
29+
jsonPath: .status.conditions[?(@.status=="True")].reason
30+
name: Reason
31+
type: string
32+
name: v1beta1
33+
schema:
34+
openAPIV3Schema:
35+
description: NodeNetworkConfigurationEnactment is the Schema for the nodenetworkconfigurationenactments
36+
API
37+
properties:
38+
apiVersion:
39+
description: |-
40+
APIVersion defines the versioned schema of this representation of an object.
41+
Servers should convert recognized schemas to the latest internal value, and
42+
may reject unrecognized values.
43+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
44+
type: string
45+
kind:
46+
description: |-
47+
Kind is a string value representing the REST resource this object represents.
48+
Servers may infer this from the endpoint the client submits requests to.
49+
Cannot be updated.
50+
In CamelCase.
51+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
52+
type: string
53+
metadata:
54+
type: object
55+
status:
56+
description: NodeNetworkConfigurationEnactmentStatus defines the observed
57+
state of NodeNetworkConfigurationEnactment
58+
properties:
59+
capturedStates:
60+
additionalProperties:
61+
properties:
62+
metaInfo:
63+
properties:
64+
time:
65+
format: date-time
66+
type: string
67+
version:
68+
type: string
69+
type: object
70+
state:
71+
type: object
72+
x-kubernetes-preserve-unknown-fields: true
73+
type: object
74+
description: A cache containing the resolved captures after processing
75+
the capture at NNCP
76+
type: object
77+
conditions:
78+
items:
79+
properties:
80+
lastHeartbeatTime:
81+
format: date-time
82+
type: string
83+
lastTransitionTime:
84+
format: date-time
85+
type: string
86+
message:
87+
type: string
88+
reason:
89+
type: string
90+
status:
91+
type: string
92+
type:
93+
type: string
94+
required:
95+
- status
96+
- type
97+
type: object
98+
type: array
99+
desiredState:
100+
description: |-
101+
The desired state rendered for the enactment's node using
102+
the policy desiredState as template
103+
type: object
104+
x-kubernetes-preserve-unknown-fields: true
105+
desiredStateMetaInfo:
106+
properties:
107+
time:
108+
format: date-time
109+
type: string
110+
version:
111+
type: string
112+
type: object
113+
features:
114+
items:
115+
type: string
116+
type: array
117+
policyGeneration:
118+
description: |-
119+
The generation from policy needed to check if an enactment
120+
condition status belongs to the same policy version
121+
format: int64
122+
type: integer
123+
type: object
124+
type: object
125+
x-kubernetes-preserve-unknown-fields: true
126+
served: true
127+
storage: true
128+
subresources:
129+
status: {}
Lines changed: 231 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.17.1
7+
name: nodenetworkconfigurationpolicies.nmstate.io
8+
spec:
9+
group: nmstate.io
10+
names:
11+
kind: NodeNetworkConfigurationPolicy
12+
listKind: NodeNetworkConfigurationPolicyList
13+
plural: nodenetworkconfigurationpolicies
14+
shortNames:
15+
- nncp
16+
singular: nodenetworkconfigurationpolicy
17+
scope: Cluster
18+
versions:
19+
- additionalPrinterColumns:
20+
- description: Status
21+
jsonPath: .status.conditions[?(@.status=="True")].type
22+
name: Status
23+
type: string
24+
- description: Reason
25+
jsonPath: .status.conditions[?(@.status=="True")].reason
26+
name: Reason
27+
type: string
28+
name: v1
29+
schema:
30+
openAPIV3Schema:
31+
description: NodeNetworkConfigurationPolicy is the Schema for the nodenetworkconfigurationpolicies
32+
API
33+
properties:
34+
apiVersion:
35+
description: |-
36+
APIVersion defines the versioned schema of this representation of an object.
37+
Servers should convert recognized schemas to the latest internal value, and
38+
may reject unrecognized values.
39+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
40+
type: string
41+
kind:
42+
description: |-
43+
Kind is a string value representing the REST resource this object represents.
44+
Servers may infer this from the endpoint the client submits requests to.
45+
Cannot be updated.
46+
In CamelCase.
47+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
48+
type: string
49+
metadata:
50+
type: object
51+
spec:
52+
description: NodeNetworkConfigurationPolicySpec defines the desired state
53+
of NodeNetworkConfigurationPolicy
54+
properties:
55+
capture:
56+
additionalProperties:
57+
type: string
58+
description: |-
59+
Capture contains expressions with an associated name than can be referenced
60+
at the DesiredState.
61+
type: object
62+
desiredState:
63+
description: The desired configuration of the policy
64+
type: object
65+
x-kubernetes-preserve-unknown-fields: true
66+
maxUnavailable:
67+
anyOf:
68+
- type: integer
69+
- type: string
70+
description: |-
71+
MaxUnavailable specifies percentage or number
72+
of machines that can be updating at a time. Default is "50%".
73+
x-kubernetes-int-or-string: true
74+
nodeSelector:
75+
additionalProperties:
76+
type: string
77+
description: |-
78+
NodeSelector is a selector which must be true for the policy to be applied to the node.
79+
Selector which must match a node's labels for the policy to be scheduled on that node.
80+
More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
81+
type: object
82+
type: object
83+
status:
84+
description: NodeNetworkConfigurationPolicyStatus defines the observed
85+
state of NodeNetworkConfigurationPolicy
86+
properties:
87+
conditions:
88+
items:
89+
properties:
90+
lastHeartbeatTime:
91+
format: date-time
92+
type: string
93+
lastTransitionTime:
94+
format: date-time
95+
type: string
96+
message:
97+
type: string
98+
reason:
99+
type: string
100+
status:
101+
type: string
102+
type:
103+
type: string
104+
required:
105+
- status
106+
- type
107+
type: object
108+
type: array
109+
lastUnavailableNodeCountUpdate:
110+
description: LastUnavailableNodeCountUpdate is time of the last UnavailableNodeCount
111+
update
112+
format: date-time
113+
type: string
114+
unavailableNodeCount:
115+
description: |-
116+
UnavailableNodeCount represents the total number of potentially unavailable nodes that are
117+
processing a NodeNetworkConfigurationPolicy
118+
type: integer
119+
type: object
120+
type: object
121+
served: true
122+
storage: true
123+
subresources:
124+
status: {}
125+
- additionalPrinterColumns:
126+
- description: Status
127+
jsonPath: .status.conditions[?(@.status=="True")].type
128+
name: Status
129+
type: string
130+
- description: Reason
131+
jsonPath: .status.conditions[?(@.status=="True")].reason
132+
name: Reason
133+
type: string
134+
deprecated: true
135+
name: v1beta1
136+
schema:
137+
openAPIV3Schema:
138+
description: NodeNetworkConfigurationPolicy is the Schema for the nodenetworkconfigurationpolicies
139+
API
140+
properties:
141+
apiVersion:
142+
description: |-
143+
APIVersion defines the versioned schema of this representation of an object.
144+
Servers should convert recognized schemas to the latest internal value, and
145+
may reject unrecognized values.
146+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
147+
type: string
148+
kind:
149+
description: |-
150+
Kind is a string value representing the REST resource this object represents.
151+
Servers may infer this from the endpoint the client submits requests to.
152+
Cannot be updated.
153+
In CamelCase.
154+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
155+
type: string
156+
metadata:
157+
type: object
158+
spec:
159+
description: NodeNetworkConfigurationPolicySpec defines the desired state
160+
of NodeNetworkConfigurationPolicy
161+
properties:
162+
capture:
163+
additionalProperties:
164+
type: string
165+
description: |-
166+
Capture contains expressions with an associated name than can be referenced
167+
at the DesiredState.
168+
type: object
169+
desiredState:
170+
description: The desired configuration of the policy
171+
type: object
172+
x-kubernetes-preserve-unknown-fields: true
173+
maxUnavailable:
174+
anyOf:
175+
- type: integer
176+
- type: string
177+
description: |-
178+
MaxUnavailable specifies percentage or number
179+
of machines that can be updating at a time. Default is "50%".
180+
x-kubernetes-int-or-string: true
181+
nodeSelector:
182+
additionalProperties:
183+
type: string
184+
description: |-
185+
NodeSelector is a selector which must be true for the policy to be applied to the node.
186+
Selector which must match a node's labels for the policy to be scheduled on that node.
187+
More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
188+
type: object
189+
type: object
190+
status:
191+
description: NodeNetworkConfigurationPolicyStatus defines the observed
192+
state of NodeNetworkConfigurationPolicy
193+
properties:
194+
conditions:
195+
items:
196+
properties:
197+
lastHeartbeatTime:
198+
format: date-time
199+
type: string
200+
lastTransitionTime:
201+
format: date-time
202+
type: string
203+
message:
204+
type: string
205+
reason:
206+
type: string
207+
status:
208+
type: string
209+
type:
210+
type: string
211+
required:
212+
- status
213+
- type
214+
type: object
215+
type: array
216+
lastUnavailableNodeCountUpdate:
217+
description: LastUnavailableNodeCountUpdate is time of the last UnavailableNodeCount
218+
update
219+
format: date-time
220+
type: string
221+
unavailableNodeCount:
222+
description: |-
223+
UnavailableNodeCount represents the total number of potentially unavailable nodes that are
224+
processing a NodeNetworkConfigurationPolicy
225+
type: integer
226+
type: object
227+
type: object
228+
served: true
229+
storage: false
230+
subresources:
231+
status: {}

0 commit comments

Comments
 (0)