Skip to content

Commit c4a2ad4

Browse files
authored
Merge pull request #71824 from jab-rh/ocp-apis-415rc7
Add OCP APIs foropenshift-openapi-4.15.0-rc.7
2 parents c2de709 + a2f608c commit c4a2ad4

17 files changed

+159
-2288
lines changed

rest_api/authorization_apis/tokenreview-authentication-k8s-io-v1.adoc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -180,15 +180,9 @@ The following API endpoints are available:
180180
| `dryRun`
181181
| `string`
182182
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
183-
| `fieldManager`
184-
| `string`
185-
| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
186183
| `fieldValidation`
187184
| `string`
188185
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
189-
| `pretty`
190-
| `string`
191-
| If 'true', then the output is pretty printed.
192186
|===
193187

194188
HTTP method::

rest_api/config_apis/network-config-openshift-io-v1.adoc

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,16 @@ Type::
211211
| `integer`
212212
| ClusterNetworkMTU is the MTU for inter-pod networking.
213213

214+
| `conditions`
215+
| `array`
216+
| conditions represents the observations of a network.config current state. Known .status.conditions.type are: "NetworkTypeMigrationInProgress", "NetworkTypeMigrationMTUReady", "NetworkTypeMigrationTargetCNIAvailable", "NetworkTypeMigrationTargetCNIInUse" and "NetworkTypeMigrationOriginalCNIPurged"
217+
218+
| `conditions[]`
219+
| `object`
220+
| Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example,
221+
type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
222+
// other fields }
223+
214224
| `migration`
215225
| `object`
216226
| Migration contains the cluster network migration configuration.
@@ -262,6 +272,69 @@ Type::
262272
| `integer`
263273
| The size (prefix) of block to allocate to each node. If this field is not used by the plugin, it can be left unset.
264274

275+
|===
276+
=== .status.conditions
277+
Description::
278+
+
279+
--
280+
conditions represents the observations of a network.config current state. Known .status.conditions.type are: "NetworkTypeMigrationInProgress", "NetworkTypeMigrationMTUReady", "NetworkTypeMigrationTargetCNIAvailable", "NetworkTypeMigrationTargetCNIInUse" and "NetworkTypeMigrationOriginalCNIPurged"
281+
--
282+
283+
Type::
284+
`array`
285+
286+
287+
288+
289+
=== .status.conditions[]
290+
Description::
291+
+
292+
--
293+
Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example,
294+
type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
295+
// other fields }
296+
--
297+
298+
Type::
299+
`object`
300+
301+
Required::
302+
- `lastTransitionTime`
303+
- `message`
304+
- `reason`
305+
- `status`
306+
- `type`
307+
308+
309+
310+
[cols="1,1,1",options="header"]
311+
|===
312+
| Property | Type | Description
313+
314+
| `lastTransitionTime`
315+
| `string`
316+
| lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
317+
318+
| `message`
319+
| `string`
320+
| message is a human readable message indicating details about the transition. This may be an empty string.
321+
322+
| `observedGeneration`
323+
| `integer`
324+
| observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
325+
326+
| `reason`
327+
| `string`
328+
| reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
329+
330+
| `status`
331+
| `string`
332+
| status of the condition, one of True, False, Unknown.
333+
334+
| `type`
335+
| `string`
336+
| type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
337+
265338
|===
266339
=== .status.migration
267340
Description::

rest_api/network_apis/cloudprivateipconfig-cloud-network-openshift-io-v1.adoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,9 @@ Required::
9696

9797
| `conditions[]`
9898
| `object`
99-
| Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
100-
// other fields }
99+
| Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example,
100+
type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
101+
// other fields }
101102

102103
| `node`
103104
| `string`
@@ -121,8 +122,9 @@ Type::
121122
Description::
122123
+
123124
--
124-
Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
125-
// other fields }
125+
Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example,
126+
type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
127+
// other fields }
126128
--
127129

128130
Type::

0 commit comments

Comments
 (0)