Skip to content

Conversation

@day0hero
Copy link
Contributor

  • infra.Status.ControlPlaneTopology is how we can programmatically
    determine the type of cluster we're on.

  • External=HyperShift

  • SingleReplica/HighlyAvailable-Traditional/Normal

  • infra.Status.APIServerURL is how we can programmatically determine the
    api address of the cluster.

  • In the past we have gotten away with this because we could use the
    clusterDomain but HyperShift uses the DNS name of the ELB it
    provisions for the hosted cluster.

  • In addition to these changes, added a sample pattern crd for testing
    the operator.

- infra.Status.ControlPlaneTopology is how we can programmatically
  determine the type of cluster we're on.
- External=HyperShift
- SingleReplica/HighlyAvailable-Traditional/Normal

- infra.Status.APIServerURL is how we can programmatically determine the
  api address of the cluster.
- In the past we have gotten away with this because we could use the
  clusterDomain but HyperShift uses the DNS name of the ELB it
provisions for the hosted cluster.

- In addition to these changes, added a sample pattern crd for testing
  the operator.
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: day0hero

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot requested a review from darkdoc December 10, 2025 21:47
@openshift-ci openshift-ci bot requested a review from gaurav-nelson December 10, 2025 21:47
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't delete this one, we love it ;)


output.Status.ClusterPlatform = string(clusterInfra.Spec.PlatformSpec.Type)
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just look up the two new fields here, add them to the status and then place them in the values parameters. I think there is no need to add all that code in other places

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants