Skip to content

Commit 3a5d25c

Browse files
committed
Add OpenShift 4.13 REST APIs
- https://issues.redhat.com/browse/OSDOCS-4866
1 parent d4e32c4 commit 3a5d25c

File tree

106 files changed

+9208
-3217
lines changed

Some content is hidden

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

106 files changed

+9208
-3217
lines changed

_topic_maps/_topic_map.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2831,8 +2831,12 @@ Topics:
28312831
File: helmchartrepository-helm-openshift-io-v1beta1
28322832
- Name: 'Image [config.openshift.io/v1]'
28332833
File: image-config-openshift-io-v1
2834+
- Name: 'ImageDigestMirrorSet [config.openshift.io/v1]'
2835+
File: imagedigestmirrorset-config-openshift-io-v1
28342836
- Name: 'ImageContentPolicy [config.openshift.io/v1]'
28352837
File: imagecontentpolicy-config-openshift-io-v1
2838+
- Name: 'ImageTagMirrorSet [config.openshift.io/v1]'
2839+
File: imagetagmirrorset-config-openshift-io-v1
28362840
- Name: 'Infrastructure [config.openshift.io/v1]'
28372841
File: infrastructure-config-openshift-io-v1
28382842
- Name: 'Ingress [config.openshift.io/v1]'
@@ -3155,6 +3159,10 @@ Topics:
31553159
File: hardwaredata-metal3-io-v1alpha1
31563160
- Name: 'HostFirmwareSettings [metal3.io/v1alpha1]'
31573161
File: hostfirmwaresettings-metal3-io-v1alpha1
3162+
- Name: 'Metal3Remediation [infrastructure.cluster.x-k8s.io/v1beta1]'
3163+
File: metal3remediation-infrastructure-cluster-x-k8s-io-v1beta1
3164+
- Name: 'Metal3RemediationTemplate [infrastructure.cluster.x-k8s.io/v1beta1]'
3165+
File: metal3remediationtemplate-infrastructure-cluster-x-k8s-io-v1beta1
31583166
- Name: 'PreprovisioningImage [metal3.io/v1alpha1]'
31593167
File: preprovisioningimage-metal3-io-v1alpha1
31603168
- Name: 'Provisioning [metal3.io/v1alpha1]'
@@ -3240,6 +3248,8 @@ Topics:
32403248
File: csinode-storage-k8s-io-v1
32413249
- Name: 'CSIStorageCapacity [storage.k8s.io/v1]'
32423250
File: csistoragecapacity-storage-k8s-io-v1
3251+
- Name: 'PersistentVolume [undefined/v1]'
3252+
File: persistentvolume-v1
32433253
- Name: 'PersistentVolumeClaim [undefined/v1]'
32443254
File: persistentvolumeclaim-v1
32453255
- Name: 'StorageClass [storage.k8s.io/v1]'
@@ -3315,8 +3325,6 @@ Topics:
33153325
File: pod-v1
33163326
- Name: 'ReplicationController [undefined/v1]'
33173327
File: replicationcontroller-v1
3318-
- Name: 'PersistentVolume [undefined/v1]'
3319-
File: persistentvolume-v1
33203328
- Name: 'ReplicaSet [apps/v1]'
33213329
File: replicaset-apps-v1
33223330
- Name: 'StatefulSet [apps/v1]'

api-config.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,15 @@ apiMap:
8686
- kind: Image
8787
group: config.openshift.io
8888
version: v1
89+
- kind: ImageDigestMirrorSet
90+
group: config.openshift.io
91+
version: v1
8992
- kind: ImageContentPolicy
9093
group: config.openshift.io
9194
version: v1
95+
- kind: ImageTagMirrorSet
96+
group: config.openshift.io
97+
version: v1
9298
- kind: Infrastructure
9399
group: config.openshift.io
94100
version: v1
@@ -515,6 +521,12 @@ apiMap:
515521
- kind: HostFirmwareSettings
516522
group: metal3.io
517523
version: v1alpha1
524+
- kind: Metal3Remediation
525+
group: infrastructure.cluster.x-k8s.io
526+
version: v1beta1
527+
- kind: Metal3RemediationTemplate
528+
group: infrastructure.cluster.x-k8s.io
529+
version: v1beta1
518530
- kind: PreprovisioningImage
519531
group: metal3.io
520532
version: v1alpha1
@@ -617,6 +629,8 @@ apiMap:
617629
- kind: CSIStorageCapacity
618630
group: storage.k8s.io
619631
version: v1
632+
- kind: PersistentVolume
633+
version: v1
620634
- kind: PersistentVolumeClaim
621635
version: v1
622636
- kind: StorageClass
@@ -709,8 +723,6 @@ apiMap:
709723
version: v1
710724
- kind: ReplicationController
711725
version: v1
712-
- kind: PersistentVolume
713-
version: v1
714726
- kind: ReplicaSet
715727
group: apps
716728
version: v1

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

Lines changed: 4 additions & 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_v2[`RawExtension_v2`]
44+
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension[`RawExtension`]
4545
| Content is the actual content of the request for create and update
4646

4747
| `isNonResourceURL`
@@ -111,6 +111,9 @@ The following API endpoints are available:
111111
| `fieldManager`
112112
| `string`
113113
| 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.
114+
| `fieldValidation`
115+
| `string`
116+
| 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.
114117
| `pretty`
115118
| `string`
116119
| If 'true', then the output is pretty printed.

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

Lines changed: 4 additions & 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_v2[`RawExtension_v2`]
47+
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension[`RawExtension`]
4848
| Content is the actual content of the request for create and update
4949

5050
| `groups`
@@ -126,6 +126,9 @@ The following API endpoints are available:
126126
| `fieldManager`
127127
| `string`
128128
| 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.
129+
| `fieldValidation`
130+
| `string`
131+
| 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.
129132
| `pretty`
130133
| `string`
131134
| If 'true', then the output is pretty printed.

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

Lines changed: 4 additions & 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_v2[`RawExtension_v2`]
44+
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension[`RawExtension`]
4545
| Content is the actual content of the request for create and update
4646

4747
| `isNonResourceURL`
@@ -103,6 +103,9 @@ The following API endpoints are available:
103103
| `fieldManager`
104104
| `string`
105105
| 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.
106+
| `fieldValidation`
107+
| `string`
108+
| 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.
106109
| `pretty`
107110
| `string`
108111
| If 'true', then the output is pretty printed.

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

Lines changed: 4 additions & 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_v2[`RawExtension_v2`]
143+
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension[`RawExtension`]
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`
@@ -190,6 +190,9 @@ The following API endpoints are available:
190190
| `fieldManager`
191191
| `string`
192192
| 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.
193+
| `fieldValidation`
194+
| `string`
195+
| 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.
193196
| `pretty`
194197
| `string`
195198
| If 'true', then the output is pretty printed.

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

Lines changed: 4 additions & 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_v2[`RawExtension_v2`]
47+
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension[`RawExtension`]
4848
| Content is the actual content of the request for create and update
4949

5050
| `groups`
@@ -118,6 +118,9 @@ The following API endpoints are available:
118118
| `fieldManager`
119119
| `string`
120120
| 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.
121+
| `fieldValidation`
122+
| `string`
123+
| 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.
121124
| `pretty`
122125
| `string`
123126
| If 'true', then the output is pretty printed.

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Required::
150150
| 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
151151

152152
| `attributeRestrictions`
153-
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension_v2[`RawExtension_v2`]
153+
| xref:../objects/index.adoc#io.k8s.apimachinery.pkg.runtime.RawExtension[`RawExtension`]
154154
| 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.
155155

156156
| `nonResourceURLs`
@@ -200,6 +200,9 @@ The following API endpoints are available:
200200
| `fieldManager`
201201
| `string`
202202
| 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.
203+
| `fieldValidation`
204+
| `string`
205+
| 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.
203206
| `pretty`
204207
| `string`
205208
| If 'true', then the output is pretty printed.

rest_api/autoscale_apis/clusterautoscaler-autoscaling-openshift-io-v1.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Required::
216216

217217
| `type`
218218
| `string`
219-
|
219+
| The type of GPU to associate with the minimum and maximum limits. This value is used by the Cluster Autoscaler to identify Nodes that will have GPU capacity by searching for it as a label value on the Node objects. For example, Nodes that carry the label key `cluster-api/accelerator` with the label value being the same as the Type field will be counted towards the resource limits by the Cluster Autoscaler.
220220

221221
|===
222222
=== .spec.resourceLimits.memory

rest_api/autoscale_apis/horizontalpodautoscaler-autoscaling-v2.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ Required::
559559

560560
| `kind`
561561
| `string`
562-
| Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
562+
| Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
563563

564564
| `name`
565565
| `string`
@@ -814,7 +814,7 @@ Required::
814814

815815
| `kind`
816816
| `string`
817-
| Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
817+
| Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
818818

819819
| `name`
820820
| `string`
@@ -1225,7 +1225,7 @@ Required::
12251225

12261226
| `kind`
12271227
| `string`
1228-
| Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
1228+
| Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
12291229

12301230
| `name`
12311231
| `string`

0 commit comments

Comments
 (0)