Skip to content
This repository was archived by the owner on Mar 24, 2024. It is now read-only.
This repository was archived by the owner on Mar 24, 2024. It is now read-only.

create PR for HyperShift product definition #2

Description

@tmishina

Description:

  • Add platform definition for HyperShift management cluster

Rationale:

OpenShift clusters can be deployed as a hosted cluster, one of the variations of OpenShift installation, using HyperShift technology. HyperShift can create a hosted cluster not only on an OpenShift cluster but also on a vanilla Kubernetes cluster. If the underlying cluster is vanilla Kubernetes, Compliance Operator does not perform any OCP4-related check (because the underlying cluster does not contain OpenShift version resource /apis/config.openshift.io/v1/clusteroperators/openshift-apiserver) while it hosts OpenShift components such as API server, kubelet and Etcd inside of a hosted cluster namespace.

This PR provides a new platform definition called ocp4-on-hypershift. The trigger of the definition is existence of a custom resource of HyperShift /kubernetes-api-resources/apis/apiextensions.k8s.io/v1/customresourcedefinitions/hostedclusters.hypershift.openshift.io. When this CRD exists in the cluster, then the platform is marked as ocp4-on-hypershift, as an variation of OpenShift, and OCP4-related rules will be ignited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions