Skip to content

Commit

Permalink
Add OpenShift 4.12 APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
jab-rh committed Nov 7, 2022
1 parent 8dfe968 commit a9968f2
Show file tree
Hide file tree
Showing 220 changed files with 13,944 additions and 3,968 deletions.
66 changes: 35 additions & 31 deletions _topic_maps/_topic_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2628,8 +2628,8 @@ Topics:
File: consolelink-console-openshift-io-v1
- Name: 'ConsoleNotification [console.openshift.io/v1]'
File: consolenotification-console-openshift-io-v1
- Name: 'ConsolePlugin [console.openshift.io/v1alpha1]'
File: consoleplugin-console-openshift-io-v1alpha1
- Name: 'ConsolePlugin [console.openshift.io/v1]'
File: consoleplugin-console-openshift-io-v1
- Name: 'ConsoleQuickStart [console.openshift.io/v1]'
File: consolequickstart-console-openshift-io-v1
- Name: 'ConsoleYAMLSample [console.openshift.io/v1]'
Expand Down Expand Up @@ -2681,6 +2681,8 @@ Topics:
File: containerruntimeconfig-machineconfiguration-openshift-io-v1
- Name: 'ControllerConfig [machineconfiguration.openshift.io/v1]'
File: controllerconfig-machineconfiguration-openshift-io-v1
- Name: 'ControlPlaneMachineSet [machine.openshift.io/v1]'
File: controlplanemachineset-machine-openshift-io-v1
- Name: 'KubeletConfig [machineconfiguration.openshift.io/v1]'
File: kubeletconfig-machineconfiguration-openshift-io-v1
- Name: 'MachineConfigPool [machineconfiguration.openshift.io/v1]'
Expand All @@ -2700,21 +2702,21 @@ Topics:
File: metadata-apis-index
- Name: 'APIRequestCount [apiserver.openshift.io/v1]'
File: apirequestcount-apiserver-openshift-io-v1
- Name: 'Binding [v1]'
- Name: 'Binding [undefined/v1]'
File: binding-v1
- Name: 'ComponentStatus [v1]'
- Name: 'ComponentStatus [undefined/v1]'
File: componentstatus-v1
- Name: 'ConfigMap [v1]'
- Name: 'ConfigMap [undefined/v1]'
File: configmap-v1
- Name: 'ControllerRevision [apps/v1]'
File: controllerrevision-apps-v1
- Name: 'Event [events.k8s.io/v1]'
File: event-events-k8s-io-v1
- Name: 'Event [v1]'
- Name: 'Event [undefined/v1]'
File: event-v1
- Name: 'Lease [coordination.k8s.io/v1]'
File: lease-coordination-k8s-io-v1
- Name: 'Namespace [v1]'
- Name: 'Namespace [undefined/v1]'
File: namespace-v1
- Name: Monitoring APIs
Dir: monitoring_apis
Expand Down Expand Up @@ -2742,28 +2744,26 @@ Topics:
Topics:
- Name: About Network APIs
File: network-apis-index
- Name: 'ClusterNetwork [network.openshift.io/v1]'
File: clusternetwork-network-openshift-io-v1
- Name: 'CloudPrivateIPConfig [cloud.network.openshift.io/v1]'
File: cloudprivateipconfig-cloud-network-openshift-io-v1
- Name: 'Endpoints [v1]'
- Name: 'EgressFirewall [k8s.ovn.org/v1]'
File: egressfirewall-k8s-ovn-org-v1
- Name: 'EgressIP [k8s.ovn.org/v1]'
File: egressip-k8s-ovn-org-v1
- Name: 'EgressQoS [k8s.ovn.org/v1]'
File: egressqos-k8s-ovn-org-v1
- Name: 'Endpoints [undefined/v1]'
File: endpoints-v1
- Name: 'EndpointSlice [discovery.k8s.io/v1]'
File: endpointslice-discovery-k8s-io-v1
- Name: 'EgressNetworkPolicy [network.openshift.io/v1]'
File: egressnetworkpolicy-network-openshift-io-v1
- Name: 'EgressRouter [network.operator.openshift.io/v1]'
File: egressrouter-network-operator-openshift-io-v1
- Name: 'HostSubnet [network.openshift.io/v1]'
File: hostsubnet-network-openshift-io-v1
- Name: 'Ingress [networking.k8s.io/v1]'
File: ingress-networking-k8s-io-v1
- Name: 'IngressClass [networking.k8s.io/v1]'
File: ingressclass-networking-k8s-io-v1
- Name: 'IPPool [whereabouts.cni.cncf.io/v1alpha1]'
File: ippool-whereabouts-cni-cncf-io-v1alpha1
- Name: 'NetNamespace [network.openshift.io/v1]'
File: netnamespace-network-openshift-io-v1
- Name: 'NetworkAttachmentDefinition [k8s.cni.cncf.io/v1]'
File: networkattachmentdefinition-k8s-cni-cncf-io-v1
- Name: 'NetworkPolicy [networking.k8s.io/v1]'
Expand All @@ -2774,14 +2774,14 @@ Topics:
File: podnetworkconnectivitycheck-controlplane-operator-openshift-io-v1alpha1
- Name: 'Route [route.openshift.io/v1]'
File: route-route-openshift-io-v1
- Name: 'Service [v1]'
- Name: 'Service [undefined/v1]'
File: service-v1
- Name: Node APIs
Dir: node_apis
Topics:
- Name: About Node APIs
File: node-apis-index
- Name: 'Node [v1]'
- Name: 'Node [undefined/v1]'
File: node-v1
- Name: 'PerformanceProfile [performance.openshift.io/v2]'
File: performanceprofile-performance-openshift-io-v2
Expand Down Expand Up @@ -2839,6 +2839,8 @@ Topics:
File: imagepruner-imageregistry-operator-openshift-io-v1
- Name: 'IngressController [operator.openshift.io/v1]'
File: ingresscontroller-operator-openshift-io-v1
- Name: 'InsightsOperator [operator.openshift.io/v1]'
File: insightsoperator-operator-openshift-io-v1
- Name: 'KubeAPIServer [operator.openshift.io/v1]'
File: kubeapiserver-operator-openshift-io-v1
- Name: 'KubeControllerManager [operator.openshift.io/v1]'
Expand Down Expand Up @@ -2911,6 +2913,8 @@ Topics:
File: baremetalhost-metal3-io-v1alpha1
- Name: 'FirmwareSchema [metal3.io/v1alpha1]'
File: firmwareschema-metal3-io-v1alpha1
- Name: 'HardwareData [metal3.io/v1alpha1]'
File: hardwaredata-metal3-io-v1alpha1
- Name: 'HostFirmwareSettings [metal3.io/v1alpha1]'
File: hostfirmwaresettings-metal3-io-v1alpha1
- Name: 'PreprovisioningImage [metal3.io/v1alpha1]'
Expand Down Expand Up @@ -2954,15 +2958,15 @@ Topics:
File: appliedclusterresourcequota-quota-openshift-io-v1
- Name: 'ClusterResourceQuota [quota.openshift.io/v1]'
File: clusterresourcequota-quota-openshift-io-v1
- Name: 'FlowSchema [flowcontrol.apiserver.k8s.io/v1beta2]'
File: flowschema-flowcontrol-apiserver-k8s-io-v1beta2
- Name: 'LimitRange [v1]'
- Name: 'FlowSchema [flowcontrol.apiserver.k8s.io/v1beta1]'
File: flowschema-flowcontrol-apiserver-k8s-io-v1beta1
- Name: 'LimitRange [undefined/v1]'
File: limitrange-v1
- Name: 'PriorityClass [scheduling.k8s.io/v1]'
File: priorityclass-scheduling-k8s-io-v1
- Name: 'PriorityLevelConfiguration [flowcontrol.apiserver.k8s.io/v1beta2]'
File: prioritylevelconfiguration-flowcontrol-apiserver-k8s-io-v1beta2
- Name: 'ResourceQuota [v1]'
- Name: 'PriorityLevelConfiguration [flowcontrol.apiserver.k8s.io/v1beta1]'
File: prioritylevelconfiguration-flowcontrol-apiserver-k8s-io-v1beta1
- Name: 'ResourceQuota [undefined/v1]'
File: resourcequota-v1
- Name: Security APIs
Dir: security_apis
Expand All @@ -2981,11 +2985,11 @@ Topics:
File: podsecuritypolicysubjectreview-security-openshift-io-v1
- Name: 'RangeAllocation [security.openshift.io/v1]'
File: rangeallocation-security-openshift-io-v1
- Name: 'Secret [v1]'
- Name: 'Secret [undefined/v1]'
File: secret-v1
- Name: 'SecurityContextConstraints [security.openshift.io/v1]'
File: securitycontextconstraints-security-openshift-io-v1
- Name: 'ServiceAccount [v1]'
- Name: 'ServiceAccount [undefined/v1]'
File: serviceaccount-v1
- Name: Storage APIs
Dir: storage_apis
Expand All @@ -2998,7 +3002,7 @@ Topics:
File: csinode-storage-k8s-io-v1
- Name: 'CSIStorageCapacity [storage.k8s.io/v1]'
File: csistoragecapacity-storage-k8s-io-v1
- Name: 'PersistentVolumeClaim [v1]'
- Name: 'PersistentVolumeClaim [undefined/v1]'
File: persistentvolumeclaim-v1
- Name: 'StorageClass [storage.k8s.io/v1]'
File: storageclass-storage-k8s-io-v1
Expand All @@ -3021,7 +3025,7 @@ Topics:
File: template-apis-index
- Name: 'BrokerTemplateInstance [template.openshift.io/v1]'
File: brokertemplateinstance-template-openshift-io-v1
- Name: 'PodTemplate [v1]'
- Name: 'PodTemplate [undefined/v1]'
File: podtemplate-v1
- Name: 'Template [template.openshift.io/v1]'
File: template-template-openshift-io-v1
Expand Down Expand Up @@ -3069,11 +3073,11 @@ Topics:
File: deploymentrequest-apps-openshift-io-v1
- Name: 'Job [batch/v1]'
File: job-batch-v1
- Name: 'Pod [v1]'
- Name: 'Pod [undefined/v1]'
File: pod-v1
- Name: 'ReplicationController [v1]'
- Name: 'ReplicationController [undefined/v1]'
File: replicationcontroller-v1
- Name: 'PersistentVolume [v1]'
- Name: 'PersistentVolume [undefined/v1]'
File: persistentvolume-v1
- Name: 'ReplicaSet [apps/v1]'
File: replicaset-apps-v1
Expand Down
53 changes: 38 additions & 15 deletions api-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# TODO - Add APIResource && APIGroup to Metadata APIs
version: 2
outputDir: rest_api
apiMap:
Expand Down Expand Up @@ -134,7 +135,7 @@ apiMap:
version: v1
- kind: ConsolePlugin
group: console.openshift.io
version: v1alpha1
version: v1
- kind: ConsoleQuickStart
group: console.openshift.io
version: v1
Expand Down Expand Up @@ -195,6 +196,9 @@ apiMap:
- kind: ControllerConfig
group: machineconfiguration.openshift.io
version: v1
- kind: ControlPlaneMachineSet
group: machine.openshift.io
version: v1
- kind: KubeletConfig
group: machineconfiguration.openshift.io
version: v1
Expand Down Expand Up @@ -265,26 +269,38 @@ apiMap:
version: v1
- name: Network APIs
resources:
- kind: ClusterNetwork
group: network.openshift.io
version: v1
# OpenShift SDN
# - kind: ClusterNetwork
# group: network.openshift.io
# version: v1
- kind: CloudPrivateIPConfig
group: cloud.network.openshift.io
version: v1
- kind: EgressFirewall
group: k8s.ovn.org
version: v1
- kind: EgressIP
group: k8s.ovn.org
version: v1
- kind: EgressQoS
group: k8s.ovn.org
version: v1
- kind: Endpoints
version: v1
- kind: EndpointSlice
group: discovery.k8s.io
version: v1
- kind: EgressNetworkPolicy
group: network.openshift.io
version: v1
# OpenShift SDN
# - kind: EgressNetworkPolicy
# group: network.openshift.io
# version: v1
- kind: EgressRouter
group: network.operator.openshift.io
version: v1
- kind: HostSubnet
group: network.openshift.io
version: v1
# OpenShift SDN
# - kind: HostSubnet
# group: network.openshift.io
# version: v1
- kind: Ingress
group: networking.k8s.io
version: v1
Expand All @@ -294,9 +310,10 @@ apiMap:
- kind: IPPool
group: whereabouts.cni.cncf.io
version: v1alpha1
- kind: NetNamespace
group: network.openshift.io
version: v1
# OpenShift SDN
# - kind: NetNamespace
# group: network.openshift.io
# version: v1
- kind: NetworkAttachmentDefinition
group: k8s.cni.cncf.io
version: v1
Expand Down Expand Up @@ -397,6 +414,9 @@ apiMap:
- kind: IngressController
group: operator.openshift.io
version: v1
- kind: InsightsOperator
group: operator.openshift.io
version: v1
- kind: KubeAPIServer
group: operator.openshift.io
version: v1
Expand Down Expand Up @@ -489,6 +509,9 @@ apiMap:
- kind: FirmwareSchema
group: metal3.io
version: v1alpha1
- kind: HardwareData
group: metal3.io
version: v1alpha1
- kind: HostFirmwareSettings
group: metal3.io
version: v1alpha1
Expand Down Expand Up @@ -539,15 +562,15 @@ apiMap:
version: v1
- kind: FlowSchema
group: flowcontrol.apiserver.k8s.io
version: v1beta2
version: v1beta1
- kind: LimitRange
version: v1
- kind: PriorityClass
group: scheduling.k8s.io
version: v1
- kind: PriorityLevelConfiguration
group: flowcontrol.apiserver.k8s.io
version: v1beta2
version: v1beta1
- kind: ResourceQuota
version: v1
- name: Security APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Required::
| 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

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

| `isNonResourceURL`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ The following API endpoints are available:
| `fieldManager`
| `string`
| 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.
| `fieldValidation`
| `string`
| 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.
| `pretty`
| `string`
| If 'true', then the output is pretty printed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Required::
| 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

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

| `groups`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Required::
| 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

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

| `isNonResourceURL`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ The following API endpoints are available:
| `fieldManager`
| `string`
| 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.
| `fieldValidation`
| `string`
| 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.
| `pretty`
| `string`
| If 'true', then the output is pretty printed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ The following API endpoints are available:
| `fieldManager`
| `string`
| 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.
| `fieldValidation`
| `string`
| 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.
| `pretty`
| `string`
| If 'true', then the output is pretty printed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Required::
| 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

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

| `nonResourceURLs`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ The following API endpoints are available:
| `fieldManager`
| `string`
| 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.
| `fieldValidation`
| `string`
| 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.
| `pretty`
| `string`
| If 'true', then the output is pretty printed.
Expand Down
Loading

0 comments on commit a9968f2

Please sign in to comment.