diff --git a/docs/customizations/crds.rst b/docs/customizations/crds.rst index 1b814f1..690813a 100644 --- a/docs/customizations/crds.rst +++ b/docs/customizations/crds.rst @@ -217,16 +217,8 @@ HostDeviceNetwork is the Schema for the hostdevicenetworks API | meta/v1.Object | | | Meta `__ | | +---------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+ - | ``spec`` | +----------------------------------------------+----------------------------------------------+ | - | :ref:`HostDeviceNetworkSpec ` | | ``networkNamespace`` | Namespace of the NetworkAttachmentDefinition | | - | | | string | custom resource | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``resourceName`` | Host device resource pool name | | - | | | string | | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``ipam`` | IPAM configuration to be used for this | | - | | | string | network | | - | | +----------------------------------------------+----------------------------------------------+ | + | ``spec`` | | + | :ref:`HostDeviceNetworkSpec ` | | +---------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+ | ``status`` | | | :ref:`HostDeviceNetworkStatus ` | | @@ -338,16 +330,8 @@ IPoIBNetwork is the Schema for the ipoibnetworks API | meta/v1.Object | | | Meta `__ | | +---------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+ - | ``spec`` | +----------------------------------------------+----------------------------------------------+ | - | :ref:`IPoIBNetworkSpec ` | | ``networkNamespace`` | Namespace of the NetworkAttachmentDefinition | | - | | | string | custom resource | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``master`` | Name of the host interface to enslave. | | - | | | string | Defaults to default route interface | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``ipam`` | IPAM configuration to be used for this | | - | | | string | network. | | - | | +----------------------------------------------+----------------------------------------------+ | + | ``spec`` | | + | :ref:`IPoIBNetworkSpec ` | | +---------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+ | ``status`` | | | :ref:`IPoIBNetworkStatus ` | | @@ -481,22 +465,8 @@ MacvlanNetwork is the Schema for the macvlannetworks API | meta/v1.Object | | | Meta `__ | | +---------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+ - | ``spec`` | +----------------------------------------------+----------------------------------------------+ | - | :ref:`MacvlanNetworkSpec ` | | ``networkNamespace`` | Namespace of the NetworkAttachmentDefinition | | - | | | string | custom resource | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``master`` | Name of the host interface to enslave. | | - | | | string | Defaults to default route interface | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``mode`` | Mode of interface one of “bridge”, | | - | | | string | “private”, “vepa”, “passthru” | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``mtu`` | MTU of interface to the specified value. 0 | | - | | | int | for master’s MTU | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``ipam`` | IPAM configuration to be used for this | | - | | | string | network. | | - | | +----------------------------------------------+----------------------------------------------+ | + | ``spec`` | | + | :ref:`MacvlanNetworkSpec ` | | +---------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+ | ``status`` | | | :ref:`MacvlanNetworkStatus ` | | @@ -643,44 +613,8 @@ NicClusterPolicy is the Schema for the nicclusterpolicies API | meta/v1.Object | | | Meta `__ | | +---------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+ - | ``spec`` | +----------------------------------------------+----------------------------------------------+ | - | :ref:`NicClusterPolicySpec ` | | ``nodeAffinity`` | Additional nodeAffinity rules to inject to | | - | | | `Kubernetes | the DaemonSets objects that are managed by | | - | | | core/v1.NodeAffinity `__ | | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``tolerations`` | Additional tolerations to inject to the | | - | | | `[]Kubernetes | DaemonSets objects that are managed by the | | - | | | core/v1.Toleration `__ | | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``ofedDriver`` | | | - | | | :ref:`OFEDDriverSpec ` | | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``rdmaSharedDevicePlugin`` | | | - | | | :ref:`DevicePluginSpec ` | | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``sriovDevicePlugin`` | | | - | | | :ref:`DevicePluginSpec ` | | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``ibKubernetes`` | | | - | | | :ref:`IBKubernetesSpec ` | | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``secondaryNetwork`` | | | - | | | :ref:` | | | - | | | SecondaryNetworkSpec ` | | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``nvIpam`` | | | - | | | :ref:`NVIPAMSpec ` | | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``nicFeatureDiscovery`` | | | - | | | :ref:`NICFea | | | - | | | tureDiscoverySpec ` | | | - | | +----------------------------------------------+----------------------------------------------+ | - | | | ``docaTelemetryService`` | | | - | | | :ref:`DOCATele | | | - | | | metryServiceSpec ` | | | - | | +----------------------------------------------+----------------------------------------------+ | + | ``spec`` | | + | :ref:`NicClusterPolicySpec ` | | +---------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+ | ``status`` | | | :ref:`NicClusterPolicyStatus ` | | diff --git a/hack/api-docs/templates/members.tpl b/hack/api-docs/templates/members.tpl index 1d37cd1..fc449d5 100644 --- a/hack/api-docs/templates/members.tpl +++ b/hack/api-docs/templates/members.tpl @@ -31,14 +31,6 @@ Refer to the Kubernetes API documentation for the fields of the metadata field. {{ end }} - - {{ if or (eq (fieldName .) "spec") }} -
-
- - {{ template "members" .Type }} -
- {{ end }} {{ end }}