Skip to content

Commit 7077e3a

Browse files
authored
Merge pull request #52208 from jboxman-rh/apis-412
Add OpenShift 4.12 APIs
2 parents 4fdb04a + c5504e6 commit 7077e3a

File tree

220 files changed

+13943
-3967
lines changed

Some content is hidden

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

220 files changed

+13943
-3967
lines changed

_topic_maps/_topic_map.yml

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2627,8 +2627,8 @@ Topics:
26272627
File: consolelink-console-openshift-io-v1
26282628
- Name: 'ConsoleNotification [console.openshift.io/v1]'
26292629
File: consolenotification-console-openshift-io-v1
2630-
- Name: 'ConsolePlugin [console.openshift.io/v1alpha1]'
2631-
File: consoleplugin-console-openshift-io-v1alpha1
2630+
- Name: 'ConsolePlugin [console.openshift.io/v1]'
2631+
File: consoleplugin-console-openshift-io-v1
26322632
- Name: 'ConsoleQuickStart [console.openshift.io/v1]'
26332633
File: consolequickstart-console-openshift-io-v1
26342634
- Name: 'ConsoleYAMLSample [console.openshift.io/v1]'
@@ -2680,6 +2680,8 @@ Topics:
26802680
File: containerruntimeconfig-machineconfiguration-openshift-io-v1
26812681
- Name: 'ControllerConfig [machineconfiguration.openshift.io/v1]'
26822682
File: controllerconfig-machineconfiguration-openshift-io-v1
2683+
- Name: 'ControlPlaneMachineSet [machine.openshift.io/v1]'
2684+
File: controlplanemachineset-machine-openshift-io-v1
26832685
- Name: 'KubeletConfig [machineconfiguration.openshift.io/v1]'
26842686
File: kubeletconfig-machineconfiguration-openshift-io-v1
26852687
- Name: 'MachineConfigPool [machineconfiguration.openshift.io/v1]'
@@ -2699,21 +2701,21 @@ Topics:
26992701
File: metadata-apis-index
27002702
- Name: 'APIRequestCount [apiserver.openshift.io/v1]'
27012703
File: apirequestcount-apiserver-openshift-io-v1
2702-
- Name: 'Binding [v1]'
2704+
- Name: 'Binding [undefined/v1]'
27032705
File: binding-v1
2704-
- Name: 'ComponentStatus [v1]'
2706+
- Name: 'ComponentStatus [undefined/v1]'
27052707
File: componentstatus-v1
2706-
- Name: 'ConfigMap [v1]'
2708+
- Name: 'ConfigMap [undefined/v1]'
27072709
File: configmap-v1
27082710
- Name: 'ControllerRevision [apps/v1]'
27092711
File: controllerrevision-apps-v1
27102712
- Name: 'Event [events.k8s.io/v1]'
27112713
File: event-events-k8s-io-v1
2712-
- Name: 'Event [v1]'
2714+
- Name: 'Event [undefined/v1]'
27132715
File: event-v1
27142716
- Name: 'Lease [coordination.k8s.io/v1]'
27152717
File: lease-coordination-k8s-io-v1
2716-
- Name: 'Namespace [v1]'
2718+
- Name: 'Namespace [undefined/v1]'
27172719
File: namespace-v1
27182720
- Name: Monitoring APIs
27192721
Dir: monitoring_apis
@@ -2741,28 +2743,26 @@ Topics:
27412743
Topics:
27422744
- Name: About Network APIs
27432745
File: network-apis-index
2744-
- Name: 'ClusterNetwork [network.openshift.io/v1]'
2745-
File: clusternetwork-network-openshift-io-v1
27462746
- Name: 'CloudPrivateIPConfig [cloud.network.openshift.io/v1]'
27472747
File: cloudprivateipconfig-cloud-network-openshift-io-v1
2748-
- Name: 'Endpoints [v1]'
2748+
- Name: 'EgressFirewall [k8s.ovn.org/v1]'
2749+
File: egressfirewall-k8s-ovn-org-v1
2750+
- Name: 'EgressIP [k8s.ovn.org/v1]'
2751+
File: egressip-k8s-ovn-org-v1
2752+
- Name: 'EgressQoS [k8s.ovn.org/v1]'
2753+
File: egressqos-k8s-ovn-org-v1
2754+
- Name: 'Endpoints [undefined/v1]'
27492755
File: endpoints-v1
27502756
- Name: 'EndpointSlice [discovery.k8s.io/v1]'
27512757
File: endpointslice-discovery-k8s-io-v1
2752-
- Name: 'EgressNetworkPolicy [network.openshift.io/v1]'
2753-
File: egressnetworkpolicy-network-openshift-io-v1
27542758
- Name: 'EgressRouter [network.operator.openshift.io/v1]'
27552759
File: egressrouter-network-operator-openshift-io-v1
2756-
- Name: 'HostSubnet [network.openshift.io/v1]'
2757-
File: hostsubnet-network-openshift-io-v1
27582760
- Name: 'Ingress [networking.k8s.io/v1]'
27592761
File: ingress-networking-k8s-io-v1
27602762
- Name: 'IngressClass [networking.k8s.io/v1]'
27612763
File: ingressclass-networking-k8s-io-v1
27622764
- Name: 'IPPool [whereabouts.cni.cncf.io/v1alpha1]'
27632765
File: ippool-whereabouts-cni-cncf-io-v1alpha1
2764-
- Name: 'NetNamespace [network.openshift.io/v1]'
2765-
File: netnamespace-network-openshift-io-v1
27662766
- Name: 'NetworkAttachmentDefinition [k8s.cni.cncf.io/v1]'
27672767
File: networkattachmentdefinition-k8s-cni-cncf-io-v1
27682768
- Name: 'NetworkPolicy [networking.k8s.io/v1]'
@@ -2773,14 +2773,14 @@ Topics:
27732773
File: podnetworkconnectivitycheck-controlplane-operator-openshift-io-v1alpha1
27742774
- Name: 'Route [route.openshift.io/v1]'
27752775
File: route-route-openshift-io-v1
2776-
- Name: 'Service [v1]'
2776+
- Name: 'Service [undefined/v1]'
27772777
File: service-v1
27782778
- Name: Node APIs
27792779
Dir: node_apis
27802780
Topics:
27812781
- Name: About Node APIs
27822782
File: node-apis-index
2783-
- Name: 'Node [v1]'
2783+
- Name: 'Node [undefined/v1]'
27842784
File: node-v1
27852785
- Name: 'PerformanceProfile [performance.openshift.io/v2]'
27862786
File: performanceprofile-performance-openshift-io-v2
@@ -2838,6 +2838,8 @@ Topics:
28382838
File: imagepruner-imageregistry-operator-openshift-io-v1
28392839
- Name: 'IngressController [operator.openshift.io/v1]'
28402840
File: ingresscontroller-operator-openshift-io-v1
2841+
- Name: 'InsightsOperator [operator.openshift.io/v1]'
2842+
File: insightsoperator-operator-openshift-io-v1
28412843
- Name: 'KubeAPIServer [operator.openshift.io/v1]'
28422844
File: kubeapiserver-operator-openshift-io-v1
28432845
- Name: 'KubeControllerManager [operator.openshift.io/v1]'
@@ -2910,6 +2912,8 @@ Topics:
29102912
File: baremetalhost-metal3-io-v1alpha1
29112913
- Name: 'FirmwareSchema [metal3.io/v1alpha1]'
29122914
File: firmwareschema-metal3-io-v1alpha1
2915+
- Name: 'HardwareData [metal3.io/v1alpha1]'
2916+
File: hardwaredata-metal3-io-v1alpha1
29132917
- Name: 'HostFirmwareSettings [metal3.io/v1alpha1]'
29142918
File: hostfirmwaresettings-metal3-io-v1alpha1
29152919
- Name: 'PreprovisioningImage [metal3.io/v1alpha1]'
@@ -2953,15 +2957,15 @@ Topics:
29532957
File: appliedclusterresourcequota-quota-openshift-io-v1
29542958
- Name: 'ClusterResourceQuota [quota.openshift.io/v1]'
29552959
File: clusterresourcequota-quota-openshift-io-v1
2956-
- Name: 'FlowSchema [flowcontrol.apiserver.k8s.io/v1beta2]'
2957-
File: flowschema-flowcontrol-apiserver-k8s-io-v1beta2
2958-
- Name: 'LimitRange [v1]'
2960+
- Name: 'FlowSchema [flowcontrol.apiserver.k8s.io/v1beta1]'
2961+
File: flowschema-flowcontrol-apiserver-k8s-io-v1beta1
2962+
- Name: 'LimitRange [undefined/v1]'
29592963
File: limitrange-v1
29602964
- Name: 'PriorityClass [scheduling.k8s.io/v1]'
29612965
File: priorityclass-scheduling-k8s-io-v1
2962-
- Name: 'PriorityLevelConfiguration [flowcontrol.apiserver.k8s.io/v1beta2]'
2963-
File: prioritylevelconfiguration-flowcontrol-apiserver-k8s-io-v1beta2
2964-
- Name: 'ResourceQuota [v1]'
2966+
- Name: 'PriorityLevelConfiguration [flowcontrol.apiserver.k8s.io/v1beta1]'
2967+
File: prioritylevelconfiguration-flowcontrol-apiserver-k8s-io-v1beta1
2968+
- Name: 'ResourceQuota [undefined/v1]'
29652969
File: resourcequota-v1
29662970
- Name: Security APIs
29672971
Dir: security_apis
@@ -2980,11 +2984,11 @@ Topics:
29802984
File: podsecuritypolicysubjectreview-security-openshift-io-v1
29812985
- Name: 'RangeAllocation [security.openshift.io/v1]'
29822986
File: rangeallocation-security-openshift-io-v1
2983-
- Name: 'Secret [v1]'
2987+
- Name: 'Secret [undefined/v1]'
29842988
File: secret-v1
29852989
- Name: 'SecurityContextConstraints [security.openshift.io/v1]'
29862990
File: securitycontextconstraints-security-openshift-io-v1
2987-
- Name: 'ServiceAccount [v1]'
2991+
- Name: 'ServiceAccount [undefined/v1]'
29882992
File: serviceaccount-v1
29892993
- Name: Storage APIs
29902994
Dir: storage_apis
@@ -2997,7 +3001,7 @@ Topics:
29973001
File: csinode-storage-k8s-io-v1
29983002
- Name: 'CSIStorageCapacity [storage.k8s.io/v1]'
29993003
File: csistoragecapacity-storage-k8s-io-v1
3000-
- Name: 'PersistentVolumeClaim [v1]'
3004+
- Name: 'PersistentVolumeClaim [undefined/v1]'
30013005
File: persistentvolumeclaim-v1
30023006
- Name: 'StorageClass [storage.k8s.io/v1]'
30033007
File: storageclass-storage-k8s-io-v1
@@ -3020,7 +3024,7 @@ Topics:
30203024
File: template-apis-index
30213025
- Name: 'BrokerTemplateInstance [template.openshift.io/v1]'
30223026
File: brokertemplateinstance-template-openshift-io-v1
3023-
- Name: 'PodTemplate [v1]'
3027+
- Name: 'PodTemplate [undefined/v1]'
30243028
File: podtemplate-v1
30253029
- Name: 'Template [template.openshift.io/v1]'
30263030
File: template-template-openshift-io-v1
@@ -3068,11 +3072,11 @@ Topics:
30683072
File: deploymentrequest-apps-openshift-io-v1
30693073
- Name: 'Job [batch/v1]'
30703074
File: job-batch-v1
3071-
- Name: 'Pod [v1]'
3075+
- Name: 'Pod [undefined/v1]'
30723076
File: pod-v1
3073-
- Name: 'ReplicationController [v1]'
3077+
- Name: 'ReplicationController [undefined/v1]'
30743078
File: replicationcontroller-v1
3075-
- Name: 'PersistentVolume [v1]'
3079+
- Name: 'PersistentVolume [undefined/v1]'
30763080
File: persistentvolume-v1
30773081
- Name: 'ReplicaSet [apps/v1]'
30783082
File: replicaset-apps-v1

api-config.yaml

Lines changed: 38 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# TODO - Add APIResource && APIGroup to Metadata APIs
12
version: 2
23
outputDir: rest_api
34
apiMap:
@@ -134,7 +135,7 @@ apiMap:
134135
version: v1
135136
- kind: ConsolePlugin
136137
group: console.openshift.io
137-
version: v1alpha1
138+
version: v1
138139
- kind: ConsoleQuickStart
139140
group: console.openshift.io
140141
version: v1
@@ -195,6 +196,9 @@ apiMap:
195196
- kind: ControllerConfig
196197
group: machineconfiguration.openshift.io
197198
version: v1
199+
- kind: ControlPlaneMachineSet
200+
group: machine.openshift.io
201+
version: v1
198202
- kind: KubeletConfig
199203
group: machineconfiguration.openshift.io
200204
version: v1
@@ -265,26 +269,38 @@ apiMap:
265269
version: v1
266270
- name: Network APIs
267271
resources:
268-
- kind: ClusterNetwork
269-
group: network.openshift.io
270-
version: v1
272+
# OpenShift SDN
273+
# - kind: ClusterNetwork
274+
# group: network.openshift.io
275+
# version: v1
271276
- kind: CloudPrivateIPConfig
272277
group: cloud.network.openshift.io
273278
version: v1
279+
- kind: EgressFirewall
280+
group: k8s.ovn.org
281+
version: v1
282+
- kind: EgressIP
283+
group: k8s.ovn.org
284+
version: v1
285+
- kind: EgressQoS
286+
group: k8s.ovn.org
287+
version: v1
274288
- kind: Endpoints
275289
version: v1
276290
- kind: EndpointSlice
277291
group: discovery.k8s.io
278292
version: v1
279-
- kind: EgressNetworkPolicy
280-
group: network.openshift.io
281-
version: v1
293+
# OpenShift SDN
294+
# - kind: EgressNetworkPolicy
295+
# group: network.openshift.io
296+
# version: v1
282297
- kind: EgressRouter
283298
group: network.operator.openshift.io
284299
version: v1
285-
- kind: HostSubnet
286-
group: network.openshift.io
287-
version: v1
300+
# OpenShift SDN
301+
# - kind: HostSubnet
302+
# group: network.openshift.io
303+
# version: v1
288304
- kind: Ingress
289305
group: networking.k8s.io
290306
version: v1
@@ -294,9 +310,10 @@ apiMap:
294310
- kind: IPPool
295311
group: whereabouts.cni.cncf.io
296312
version: v1alpha1
297-
- kind: NetNamespace
298-
group: network.openshift.io
299-
version: v1
313+
# OpenShift SDN
314+
# - kind: NetNamespace
315+
# group: network.openshift.io
316+
# version: v1
300317
- kind: NetworkAttachmentDefinition
301318
group: k8s.cni.cncf.io
302319
version: v1
@@ -397,6 +414,9 @@ apiMap:
397414
- kind: IngressController
398415
group: operator.openshift.io
399416
version: v1
417+
- kind: InsightsOperator
418+
group: operator.openshift.io
419+
version: v1
400420
- kind: KubeAPIServer
401421
group: operator.openshift.io
402422
version: v1
@@ -489,6 +509,9 @@ apiMap:
489509
- kind: FirmwareSchema
490510
group: metal3.io
491511
version: v1alpha1
512+
- kind: HardwareData
513+
group: metal3.io
514+
version: v1alpha1
492515
- kind: HostFirmwareSettings
493516
group: metal3.io
494517
version: v1alpha1
@@ -539,15 +562,15 @@ apiMap:
539562
version: v1
540563
- kind: FlowSchema
541564
group: flowcontrol.apiserver.k8s.io
542-
version: v1beta2
565+
version: v1beta1
543566
- kind: LimitRange
544567
version: v1
545568
- kind: PriorityClass
546569
group: scheduling.k8s.io
547570
version: v1
548571
- kind: PriorityLevelConfiguration
549572
group: flowcontrol.apiserver.k8s.io
550-
version: v1beta2
573+
version: v1beta1
551574
- kind: ResourceQuota
552575
version: v1
553576
- name: Security APIs

rest_api/authorization_apis/localresourceaccessreview-authorization-openshift-io-v1.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Required::
4141
| APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
4242

4343
| `content`
44-
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension[`RawExtension`]
44+
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension_v2[`RawExtension_v2`]
4545
| Content is the actual content of the request for create and update
4646

4747
| `isNonResourceURL`

rest_api/authorization_apis/localsubjectaccessreview-authorization-k8s-io-v1.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,9 @@ The following API endpoints are available:
245245
| `fieldManager`
246246
| `string`
247247
| 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.
248+
| `fieldValidation`
249+
| `string`
250+
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. 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 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - 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 when the `ServerSideFieldValidation` feature gate is enabled. - 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.
248251
| `pretty`
249252
| `string`
250253
| If 'true', then the output is pretty printed.

rest_api/authorization_apis/localsubjectaccessreview-authorization-openshift-io-v1.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Required::
4444
| APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
4545

4646
| `content`
47-
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension[`RawExtension`]
47+
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension_v2[`RawExtension_v2`]
4848
| Content is the actual content of the request for create and update
4949

5050
| `groups`

rest_api/authorization_apis/resourceaccessreview-authorization-openshift-io-v1.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Required::
4141
| APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
4242

4343
| `content`
44-
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension[`RawExtension`]
44+
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension_v2[`RawExtension_v2`]
4545
| Content is the actual content of the request for create and update
4646

4747
| `isNonResourceURL`

rest_api/authorization_apis/selfsubjectaccessreview-authorization-k8s-io-v1.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ The following API endpoints are available:
204204
| `fieldManager`
205205
| `string`
206206
| 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.
207+
| `fieldValidation`
208+
| `string`
209+
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. 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 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - 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 when the `ServerSideFieldValidation` feature gate is enabled. - 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.
207210
| `pretty`
208211
| `string`
209212
| If 'true', then the output is pretty printed.

rest_api/authorization_apis/selfsubjectrulesreview-authorization-k8s-io-v1.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ The following API endpoints are available:
229229
| `fieldManager`
230230
| `string`
231231
| 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.
232+
| `fieldValidation`
233+
| `string`
234+
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. 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 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - 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 when the `ServerSideFieldValidation` feature gate is enabled. - 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.
232235
| `pretty`
233236
| `string`
234237
| If 'true', then the output is pretty printed.

rest_api/authorization_apis/selfsubjectrulesreview-authorization-openshift-io-v1.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Required::
140140
| APIGroups is the name of the APIGroup that contains the resources. If this field is empty, then both kubernetes and origin API groups are assumed. That means that if an action is requested against one of the enumerated resources in either the kubernetes or the origin API group, the request will be allowed
141141

142142
| `attributeRestrictions`
143-
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension[`RawExtension`]
143+
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension_v2[`RawExtension_v2`]
144144
| AttributeRestrictions will vary depending on what the Authorizer/AuthorizationAttributeBuilder pair supports. If the Authorizer does not recognize how to handle the AttributeRestrictions, the Authorizer should report an error.
145145

146146
| `nonResourceURLs`

rest_api/authorization_apis/subjectaccessreview-authorization-k8s-io-v1.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ The following API endpoints are available:
237237
| `fieldManager`
238238
| `string`
239239
| 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.
240+
| `fieldValidation`
241+
| `string`
242+
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. 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 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - 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 when the `ServerSideFieldValidation` feature gate is enabled. - 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.
240243
| `pretty`
241244
| `string`
242245
| If 'true', then the output is pretty printed.

0 commit comments

Comments
 (0)