[release-5.0] OCPBUGS-114620: bump openshift api for gcd feature gate - #10825
Conversation
Co-authored-by: Patrick Dillon <padillon@redhat.com>
…te check The GCPSovereignCloudInstall feature gate is now enabled in the default feature set, so gating the universe domain lookup behind it is no-op.
The universe domain lookup is now need for GCP, so the infrastructure manifest generation test needs a stubbed GCP session instead of real credentials. This adds a per-case setup hook and a mockGCPCredentials helper that points the session loader at a throwaway service_account credentials file, letting each case set the reported universe domain.
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@openshift-cherrypick-robot: Ignoring requests to cherry-pick non-bug issues: CORS-4550 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: ⛔ Files ignored due to path filters (21)
📒 Files selected for processing (3)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughGCP infrastructure generation now retrieves the universe domain without a feature-gate condition. Tests mock service-account credentials and verify default and non-default domain handling. ChangesGCP universe-domain handling
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This change is merge-ready after normal checks and review; no actionable merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 13 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (13 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 2 files. (1 skipped: 1 unsupported.) Full details: Stable And Deterministic Test NamesExplanation PASS. The pull request modifies one test file and adds the static case name "GCP non-default universe domain". The table-driven runner uses Full details: Test Structure And QualityExplanation The changed test adds Full details: Microshift Test CompatibilityExplanation PASS: The pull request adds no Ginkgo e2e tests. The only test change is in Full details: Single Node Openshift (Sno) Test CompatibilityExplanation PASS — The pull request adds no Ginkgo e2e tests. The changed test file uses Go's Full details: Topology-Aware Scheduling CompatibilityExplanation PASS: The pull request introduces no topology-sensitive scheduling constraint. The only non-test production change is in Full details: Ote Binary Stdout ContractExplanation PASS — The pull request adds no process-level stdout write. The production change only retrieves the GCP session and universe domain in Full details: Ipv6 And Disconnected Network Test CompatibilityExplanation PASS: The PR adds no new Ginkgo e2e tests. It modifies the existing Go unit test Full details: No-Weak-CryptoExplanation No weak-crypto condition is introduced. The PR diff adds no MD5, SHA-1, DES/3DES, RC4, Blowfish, ECB, custom crypto, or non-constant-time secret/token comparison. The changed GCP path reads and compares a universe-domain string, not a secret or token. The vendored dependency changes contain API declarations and generated data only. Full details: Container-PrivilegesExplanation PASS. The pull request changes GCP infrastructure generation, tests, dependency/vendor data, and CRD schemas. The diff from the release-5.0 base adds no Full details: No-Sensitive-Data-In-LogsExplanation No sensitive-data logging was introduced. The production change only retrieves the GCP session and stores a non-default universe domain in infrastructure status. It adds no log call. The existing credential loader logs only the credential source, while credential content is explicitly redacted. The test credentials are fake values and are not logged.
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 golangci-lint (2.12.2)Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@openshift-cherrypick-robot: This pull request references CORS-4550 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/retitle [release-5.0] OCPBUGS-114620: bump openshift api for gcd feature gate |
|
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-114620, which is valid. 7 validation(s) were run on this bug
The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/cc @patrickdillon |
|
/retest AI-generated. Review for accuracy. |
|
@openshift-cherrypick-robot: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
| github.com/nutanix-cloud-native/prism-go-client v0.8.0 | ||
| github.com/onsi/gomega v1.42.1 | ||
| github.com/openshift/api v0.0.0-20260812104507-9d7eaabdfe05 | ||
| github.com/openshift/api v0.0.0-20260825094607-13a84dedc5a3 |
There was a problem hiding this comment.
I guess the o/api PR openshift/api#2991 should be backported to release-5.0 branch and we vendor that commit instead, rite?
This one currently points to main/release-5.1.
There was a problem hiding this comment.
Whoop, I just saw openshift/api#3017. Let's wait for it then :D
|
/hold |
|
The o/api 5.0 backport openshift/api#3017 merged as openshift/api@187a9f9 👍 |
|
closing in favor of #10845 /close |
|
/close |
|
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-114620. The bug has been updated to no longer refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@barbacbd: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@barbacbd: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This is an automated cherry-pick of #10775
/assign barbacbd
Summary by CodeRabbit
New Features
Bug Fixes
Chores