diff --git a/ocp_resources/cluster_policy.py b/ocp_resources/cluster_policy.py new file mode 100644 index 0000000000..2008bb5cbe --- /dev/null +++ b/ocp_resources/cluster_policy.py @@ -0,0 +1,5 @@ +from ocp_resources.resource import Resource + + +class GPUClusterPolicy(Resource): + api_group: str = Resource.ApiGroup.NVIDIA_COM diff --git a/ocp_resources/resource.py b/ocp_resources/resource.py index 23d16808c2..b4957292bc 100644 --- a/ocp_resources/resource.py +++ b/ocp_resources/resource.py @@ -555,6 +555,7 @@ class ApiGroup: NMSTATE_IO: str = "nmstate.io" NODE_LABELLER_KUBEVIRT_IO: str = "node-labeller.kubevirt.io" NODEMAINTENANCE_KUBEVIRT_IO: str = "nodemaintenance.kubevirt.io" + NVIDIA_COM: str = "nvidia.com" OBSERVABILITY_OPEN_CLUSTER_MANAGEMENT_IO: str = "observability.open-cluster-management.io" OCS_OPENSHIFT_IO: str = "ocs.openshift.io" OPENTELEMETRY_IO: str = "opentelemetry.io"