diff --git a/.github/in-solidarity.yml b/.github/in-solidarity.yml index 3b768fc1ee..8c835192b0 100644 --- a/.github/in-solidarity.yml +++ b/.github/in-solidarity.yml @@ -13,3 +13,4 @@ ignore: - "**/*.yml" - ".release-it.json" - "ocp_resources/grafana*" # TODO: Remove when updated upstream https://github.com/grafana-operator/grafana-operator/issues/898 + - "ocp_resources/rhmi*" diff --git a/ocp_resources/resource.py b/ocp_resources/resource.py index 483721fb36..b48a0f4a42 100644 --- a/ocp_resources/resource.py +++ b/ocp_resources/resource.py @@ -248,6 +248,7 @@ class ApiGroup: HOSTPATHPROVISIONER_KUBEVIRT_IO = "hostpathprovisioner.kubevirt.io" IMAGE_OPENSHIFT_IO = "image.openshift.io" IMAGE_REGISTRY = "registry.redhat.io" + INTEGREATLY_ORG = "integreatly.org" K8S_CNI_CNCF_IO = "k8s.cni.cncf.io" K8S_V1_CNI_CNCF_IO = "k8s.v1.cni.cncf.io" KUBERNETES_IO = "kubernetes.io" diff --git a/ocp_resources/rhmi.py b/ocp_resources/rhmi.py new file mode 100644 index 0000000000..afe2361c91 --- /dev/null +++ b/ocp_resources/rhmi.py @@ -0,0 +1,10 @@ +from ocp_resources.resource import NamespacedResource + + +class RHMI(NamespacedResource): + """ + RHMI custom resource created by Red Hat Openshift API Management (RHOAM) + https://github.com/integr8ly/integreatly-operator/blob/master/apis/v1alpha1/rhmi_types.go + """ + + api_group = NamespacedResource.ApiGroup.INTEGREATLY_ORG