Repository navigation
rosa/e2e: add PrivateLink data-plane + MC health validation on the rosa-CLI head (ROSAENG-67585) #87094
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
openshift-merge-bot
merged 7 commits into
openshift:main
from
samanthajayasinghe:ROSAENG-67585-rosa-cli-privatelink-pilot
Oct 21, 2026
Merged
rosa/e2e: add PrivateLink data-plane + MC health validation on the rosa-CLI head (ROSAENG-67585) #87094
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
58aadd4
rosa/e2e: pilot the provision x validate matrix on PrivateLink (ROSAE…
samanthajayasinghe 5d9a4d2
rosa/e2e: extract rosa-e2e-hcp-rosa-cli-private-provision head chain
samanthajayasinghe d23d18c
rosa/e2e: export OCM credentials in the validation refs
samanthajayasinghe ee2996f
rosa/e2e: document PRIVATE vs PRIVATE_LINK on the HCP private head chain
samanthajayasinghe 332d8a9
rosa/e2e: add PRIVATE_DEFAULT_INGRESS for HCP; drop PRIVATE_LINK from…
samanthajayasinghe e8407bd
rosa/e2e: retry ocm-backplane login in rosa-cluster-credentials-backp…
samanthajayasinghe fec1a17
rosa/e2e: skip the retry sleep after the final backplane login attempt
samanthajayasinghe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
ci-operator/step-registry/rosa/e2e/hcp/rosa-cli/private/OWNERS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| approvers: | ||
| - tiwillia | ||
| - dustman9000 | ||
| - bmeng | ||
| - ravitri | ||
| - samanthajayasinghe | ||
| reviewers: | ||
| - tiwillia | ||
| - dustman9000 | ||
| - bmeng | ||
| - ravitri | ||
| - samanthajayasinghe |
12 changes: 12 additions & 0 deletions
12
ci-operator/step-registry/rosa/e2e/hcp/rosa-cli/private/provision/OWNERS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| approvers: | ||
| - tiwillia | ||
| - dustman9000 | ||
| - bmeng | ||
| - ravitri | ||
| - samanthajayasinghe | ||
| reviewers: | ||
| - tiwillia | ||
| - dustman9000 | ||
| - bmeng | ||
| - ravitri | ||
| - samanthajayasinghe |
19 changes: 19 additions & 0 deletions
19
...cp/rosa-cli/private/provision/rosa-e2e-hcp-rosa-cli-private-provision-chain.metadata.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| { | ||
| "path": "rosa/e2e/hcp/rosa-cli/private/provision/rosa-e2e-hcp-rosa-cli-private-provision-chain.yaml", | ||
| "owners": { | ||
| "approvers": [ | ||
| "tiwillia", | ||
| "dustman9000", | ||
| "bmeng", | ||
| "ravitri", | ||
| "samanthajayasinghe" | ||
| ], | ||
| "reviewers": [ | ||
| "tiwillia", | ||
| "dustman9000", | ||
| "bmeng", | ||
| "ravitri", | ||
| "samanthajayasinghe" | ||
| ] | ||
| } | ||
| } |
54 changes: 54 additions & 0 deletions
54
...osa/e2e/hcp/rosa-cli/private/provision/rosa-e2e-hcp-rosa-cli-private-provision-chain.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| chain: | ||
| as: rosa-e2e-hcp-rosa-cli-private-provision | ||
| env: | ||
| - name: HOSTED_CP | ||
| default: "true" | ||
| - name: ENABLE_BYOVPC | ||
| default: "true" | ||
| - name: STS | ||
| default: "true" | ||
| - name: PRIVATE | ||
| default: "true" | ||
| documentation: |- | ||
| Private API endpoint: rosa-cluster-provision maps this to | ||
| `rosa create cluster --private` for HCP clusters. | ||
| - name: PRIVATE_DEFAULT_INGRESS | ||
| default: "true" | ||
| documentation: |- | ||
| HCP-only: make the default apps ingress (router) listen internally | ||
| (`rosa create cluster --default-ingress-private`). Per the rosa CLI, | ||
| PrivateLink is a Classic-only concept: "For Hosted Control Plane clusters, | ||
| use the '--private' and '--default-ingress-private' flags instead." Together | ||
| PRIVATE and PRIVATE_DEFAULT_INGRESS give a fully private HCP cluster; PRIVATE | ||
| alone leaves the default ingress public. | ||
| steps: | ||
| - ref: aws-provision-vpc-shared | ||
| - ref: aws-provision-tags-for-byo-vpc-ocm-pre | ||
| - chain: rosa-sts-oidc-config-create | ||
| - ref: rosa-cluster-provision | ||
| - ref: rosa-cluster-wait-ready-cluster | ||
| - ref: rosa-cluster-notify-error | ||
| # The cluster API is only reachable via backplane from here on. This step | ||
| # writes ${SHARED_DIR}/kubeconfig and ${SHARED_DIR}/proxy-conf.sh, which the | ||
| # subsequent oc-based steps consume. It replaces the rosa-conf-idp-htpasswd | ||
| # step of the public rosa-e2e-hcp-rosa-cli-provision chain, which cannot | ||
| # reach a private API. | ||
| - ref: rosa-cluster-credentials-backplane | ||
| - ref: rosa-cluster-wait-ready-operators | ||
| # Publish the SHARED_DIR contract (cluster-metadata.json); cluster-id and | ||
| # kubeconfig were written by the steps above. | ||
| - ref: rosa-e2e-rosa-cli-publish-contract | ||
| - ref: aws-provision-tags-for-byo-vpc | ||
| documentation: >- | ||
| PrivateLink variant of the rosa-CLI provisioner head: provisions a private | ||
| ROSA HCP cluster (private API, private default ingress, BYO VPC, STS) with | ||
| the rosa CLI and publishes the SHARED_DIR provisioner-to-validator contract | ||
| (cluster-id, kubeconfig, cluster-metadata.json) defined in ROSAENG-67580. | ||
| Sibling of rosa-e2e-hcp-rosa-cli-provision; the validation tail is | ||
| provisioner-agnostic. It differs from the public chain in one step: the | ||
| cluster API is not reachable from the build farm, so | ||
| rosa-cluster-credentials-backplane replaces the rosa-conf-idp-htpasswd login | ||
| (it also writes proxy-conf.sh so downstream steps route through the corp | ||
| proxy). Consumers must run rosa-backplane-login between this chain and the | ||
| validation tail so rosa-e2e-validate-customer can fall back to bp-kubeconfig | ||
| and rosa-e2e-validate-platform gets mc-kubeconfig. | ||
19 changes: 19 additions & 0 deletions
19
...gistry/rosa/e2e/hcp/rosa-cli/private/rosa-e2e-hcp-rosa-cli-private-workflow.metadata.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| { | ||
| "path": "rosa/e2e/hcp/rosa-cli/private/rosa-e2e-hcp-rosa-cli-private-workflow.yaml", | ||
| "owners": { | ||
| "approvers": [ | ||
| "tiwillia", | ||
| "dustman9000", | ||
| "bmeng", | ||
| "ravitri", | ||
| "samanthajayasinghe" | ||
| ], | ||
| "reviewers": [ | ||
| "tiwillia", | ||
| "dustman9000", | ||
| "bmeng", | ||
| "ravitri", | ||
| "samanthajayasinghe" | ||
| ] | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are the 2 PRIVATE envs here?
If this step is for HCP only, we can keep the PRIVATE only (for both private api and private ingress), as the privatelink concept if for rosa classic only.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bmeng for the review,
I have updated the steps to support HCP-equivalent privateLink link with the following cli param
Pls review and share your thoughts.