Skip to content

Commit c5504e6

Browse files
committed
Add OpenShift 4.12 APIs
1 parent 5729fa5 commit c5504e6

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
@@ -2614,8 +2614,8 @@ Topics:
26142614
File: consolelink-console-openshift-io-v1
26152615
- Name: 'ConsoleNotification [console.openshift.io/v1]'
26162616
File: consolenotification-console-openshift-io-v1
2617-
- Name: 'ConsolePlugin [console.openshift.io/v1alpha1]'
2618-
File: consoleplugin-console-openshift-io-v1alpha1
2617+
- Name: 'ConsolePlugin [console.openshift.io/v1]'
2618+
File: consoleplugin-console-openshift-io-v1
26192619
- Name: 'ConsoleQuickStart [console.openshift.io/v1]'
26202620
File: consolequickstart-console-openshift-io-v1
26212621
- Name: 'ConsoleYAMLSample [console.openshift.io/v1]'
@@ -2667,6 +2667,8 @@ Topics:
26672667
File: containerruntimeconfig-machineconfiguration-openshift-io-v1
26682668
- Name: 'ControllerConfig [machineconfiguration.openshift.io/v1]'
26692669
File: controllerconfig-machineconfiguration-openshift-io-v1
2670+
- Name: 'ControlPlaneMachineSet [machine.openshift.io/v1]'
2671+
File: controlplanemachineset-machine-openshift-io-v1
26702672
- Name: 'KubeletConfig [machineconfiguration.openshift.io/v1]'
26712673
File: kubeletconfig-machineconfiguration-openshift-io-v1
26722674
- Name: 'MachineConfigPool [machineconfiguration.openshift.io/v1]'
@@ -2686,21 +2688,21 @@ Topics:
26862688
File: metadata-apis-index
26872689
- Name: 'APIRequestCount [apiserver.openshift.io/v1]'
26882690
File: apirequestcount-apiserver-openshift-io-v1
2689-
- Name: 'Binding [v1]'
2691+
- Name: 'Binding [undefined/v1]'
26902692
File: binding-v1
2691-
- Name: 'ComponentStatus [v1]'
2693+
- Name: 'ComponentStatus [undefined/v1]'
26922694
File: componentstatus-v1
2693-
- Name: 'ConfigMap [v1]'
2695+
- Name: 'ConfigMap [undefined/v1]'
26942696
File: configmap-v1
26952697
- Name: 'ControllerRevision [apps/v1]'
26962698
File: controllerrevision-apps-v1
26972699
- Name: 'Event [events.k8s.io/v1]'
26982700
File: event-events-k8s-io-v1
2699-
- Name: 'Event [v1]'
2701+
- Name: 'Event [undefined/v1]'
27002702
File: event-v1
27012703
- Name: 'Lease [coordination.k8s.io/v1]'
27022704
File: lease-coordination-k8s-io-v1
2703-
- Name: 'Namespace [v1]'
2705+
- Name: 'Namespace [undefined/v1]'
27042706
File: namespace-v1
27052707
- Name: Monitoring APIs
27062708
Dir: monitoring_apis
@@ -2728,28 +2730,26 @@ Topics:
27282730
Topics:
27292731
- Name: About Network APIs
27302732
File: network-apis-index
2731-
- Name: 'ClusterNetwork [network.openshift.io/v1]'
2732-
File: clusternetwork-network-openshift-io-v1
27332733
- Name: 'CloudPrivateIPConfig [cloud.network.openshift.io/v1]'
27342734
File: cloudprivateipconfig-cloud-network-openshift-io-v1
2735-
- Name: 'Endpoints [v1]'
2735+
- Name: 'EgressFirewall [k8s.ovn.org/v1]'
2736+
File: egressfirewall-k8s-ovn-org-v1
2737+
- Name: 'EgressIP [k8s.ovn.org/v1]'
2738+
File: egressip-k8s-ovn-org-v1
2739+
- Name: 'EgressQoS [k8s.ovn.org/v1]'
2740+
File: egressqos-k8s-ovn-org-v1
2741+
- Name: 'Endpoints [undefined/v1]'
27362742
File: endpoints-v1
27372743
- Name: 'EndpointSlice [discovery.k8s.io/v1]'
27382744
File: endpointslice-discovery-k8s-io-v1
2739-
- Name: 'EgressNetworkPolicy [network.openshift.io/v1]'
2740-
File: egressnetworkpolicy-network-openshift-io-v1
27412745
- Name: 'EgressRouter [network.operator.openshift.io/v1]'
27422746
File: egressrouter-network-operator-openshift-io-v1
2743-
- Name: 'HostSubnet [network.openshift.io/v1]'
2744-
File: hostsubnet-network-openshift-io-v1
27452747
- Name: 'Ingress [networking.k8s.io/v1]'
27462748
File: ingress-networking-k8s-io-v1
27472749
- Name: 'IngressClass [networking.k8s.io/v1]'
27482750
File: ingressclass-networking-k8s-io-v1
27492751
- Name: 'IPPool [whereabouts.cni.cncf.io/v1alpha1]'
27502752
File: ippool-whereabouts-cni-cncf-io-v1alpha1
2751-
- Name: 'NetNamespace [network.openshift.io/v1]'
2752-
File: netnamespace-network-openshift-io-v1
27532753
- Name: 'NetworkAttachmentDefinition [k8s.cni.cncf.io/v1]'
27542754
File: networkattachmentdefinition-k8s-cni-cncf-io-v1
27552755
- Name: 'NetworkPolicy [networking.k8s.io/v1]'
@@ -2760,14 +2760,14 @@ Topics:
27602760
File: podnetworkconnectivitycheck-controlplane-operator-openshift-io-v1alpha1
27612761
- Name: 'Route [route.openshift.io/v1]'
27622762
File: route-route-openshift-io-v1
2763-
- Name: 'Service [v1]'
2763+
- Name: 'Service [undefined/v1]'
27642764
File: service-v1
27652765
- Name: Node APIs
27662766
Dir: node_apis
27672767
Topics:
27682768
- Name: About Node APIs
27692769
File: node-apis-index
2770-
- Name: 'Node [v1]'
2770+
- Name: 'Node [undefined/v1]'
27712771
File: node-v1
27722772
- Name: 'PerformanceProfile [performance.openshift.io/v2]'
27732773
File: performanceprofile-performance-openshift-io-v2
@@ -2825,6 +2825,8 @@ Topics:
28252825
File: imagepruner-imageregistry-operator-openshift-io-v1
28262826
- Name: 'IngressController [operator.openshift.io/v1]'
28272827
File: ingresscontroller-operator-openshift-io-v1
2828+
- Name: 'InsightsOperator [operator.openshift.io/v1]'
2829+
File: insightsoperator-operator-openshift-io-v1
28282830
- Name: 'KubeAPIServer [operator.openshift.io/v1]'
28292831
File: kubeapiserver-operator-openshift-io-v1
28302832
- Name: 'KubeControllerManager [operator.openshift.io/v1]'
@@ -2897,6 +2899,8 @@ Topics:
28972899
File: baremetalhost-metal3-io-v1alpha1
28982900
- Name: 'FirmwareSchema [metal3.io/v1alpha1]'
28992901
File: firmwareschema-metal3-io-v1alpha1
2902+
- Name: 'HardwareData [metal3.io/v1alpha1]'
2903+
File: hardwaredata-metal3-io-v1alpha1
29002904
- Name: 'HostFirmwareSettings [metal3.io/v1alpha1]'
29012905
File: hostfirmwaresettings-metal3-io-v1alpha1
29022906
- Name: 'PreprovisioningImage [metal3.io/v1alpha1]'
@@ -2940,15 +2944,15 @@ Topics:
29402944
File: appliedclusterresourcequota-quota-openshift-io-v1
29412945
- Name: 'ClusterResourceQuota [quota.openshift.io/v1]'
29422946
File: clusterresourcequota-quota-openshift-io-v1
2943-
- Name: 'FlowSchema [flowcontrol.apiserver.k8s.io/v1beta2]'
2944-
File: flowschema-flowcontrol-apiserver-k8s-io-v1beta2
2945-
- Name: 'LimitRange [v1]'
2947+
- Name: 'FlowSchema [flowcontrol.apiserver.k8s.io/v1beta1]'
2948+
File: flowschema-flowcontrol-apiserver-k8s-io-v1beta1
2949+
- Name: 'LimitRange [undefined/v1]'
29462950
File: limitrange-v1
29472951
- Name: 'PriorityClass [scheduling.k8s.io/v1]'
29482952
File: priorityclass-scheduling-k8s-io-v1
2949-
- Name: 'PriorityLevelConfiguration [flowcontrol.apiserver.k8s.io/v1beta2]'
2950-
File: prioritylevelconfiguration-flowcontrol-apiserver-k8s-io-v1beta2
2951-
- Name: 'ResourceQuota [v1]'
2953+
- Name: 'PriorityLevelConfiguration [flowcontrol.apiserver.k8s.io/v1beta1]'
2954+
File: prioritylevelconfiguration-flowcontrol-apiserver-k8s-io-v1beta1
2955+
- Name: 'ResourceQuota [undefined/v1]'
29522956
File: resourcequota-v1
29532957
- Name: Security APIs
29542958
Dir: security_apis
@@ -2967,11 +2971,11 @@ Topics:
29672971
File: podsecuritypolicysubjectreview-security-openshift-io-v1
29682972
- Name: 'RangeAllocation [security.openshift.io/v1]'
29692973
File: rangeallocation-security-openshift-io-v1
2970-
- Name: 'Secret [v1]'
2974+
- Name: 'Secret [undefined/v1]'
29712975
File: secret-v1
29722976
- Name: 'SecurityContextConstraints [security.openshift.io/v1]'
29732977
File: securitycontextconstraints-security-openshift-io-v1
2974-
- Name: 'ServiceAccount [v1]'
2978+
- Name: 'ServiceAccount [undefined/v1]'
29752979
File: serviceaccount-v1
29762980
- Name: Storage APIs
29772981
Dir: storage_apis
@@ -2984,7 +2988,7 @@ Topics:
29842988
File: csinode-storage-k8s-io-v1
29852989
- Name: 'CSIStorageCapacity [storage.k8s.io/v1]'
29862990
File: csistoragecapacity-storage-k8s-io-v1
2987-
- Name: 'PersistentVolumeClaim [v1]'
2991+
- Name: 'PersistentVolumeClaim [undefined/v1]'
29882992
File: persistentvolumeclaim-v1
29892993
- Name: 'StorageClass [storage.k8s.io/v1]'
29902994
File: storageclass-storage-k8s-io-v1
@@ -3007,7 +3011,7 @@ Topics:
30073011
File: template-apis-index
30083012
- Name: 'BrokerTemplateInstance [template.openshift.io/v1]'
30093013
File: brokertemplateinstance-template-openshift-io-v1
3010-
- Name: 'PodTemplate [v1]'
3014+
- Name: 'PodTemplate [undefined/v1]'
30113015
File: podtemplate-v1
30123016
- Name: 'Template [template.openshift.io/v1]'
30133017
File: template-template-openshift-io-v1
@@ -3055,11 +3059,11 @@ Topics:
30553059
File: deploymentrequest-apps-openshift-io-v1
30563060
- Name: 'Job [batch/v1]'
30573061
File: job-batch-v1
3058-
- Name: 'Pod [v1]'
3062+
- Name: 'Pod [undefined/v1]'
30593063
File: pod-v1
3060-
- Name: 'ReplicationController [v1]'
3064+
- Name: 'ReplicationController [undefined/v1]'
30613065
File: replicationcontroller-v1
3062-
- Name: 'PersistentVolume [v1]'
3066+
- Name: 'PersistentVolume [undefined/v1]'
30633067
File: persistentvolume-v1
30643068
- Name: 'ReplicaSet [apps/v1]'
30653069
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)