OCPBUGS-95594: make cloud provider fields optional during operator install - #16927
OCPBUGS-95594: make cloud provider fields optional during operator install#16927savio87 wants to merge 1 commit into
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@savio87: This pull request references Jira Issue OCPBUGS-95594, which is invalid:
Comment 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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThe subscription form no longer marks authentication inputs as required or validates them as non-empty. Namespace, subscription, installation mode, resolution, and API-conflict validation remains unchanged. ChangesSubscription form validation
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Hi, this fixes an issue where the Console UI forces users to provide cloud-specific credentials (AWS role ARN, Azure Client ID, GCP Project Number, etc.) during operator installation on Workload Identity clusters. The Two customer cases are linked to the Jira issue. The CLI does not enforce these fields, so this also aligns Console behavior with CLI. Could a maintainer please set the target version on OCPBUGS-95594 and run |
Summary
On Workload Identity / Federated Identity clusters (AWS STS, Azure WI, GCP WI), the Console UI incorrectly forces users to provide cloud-specific credentials (role ARN, Client ID, etc.) before installing operators that have
token-auth-*CSV annotations. These annotations indicate the operator's capability to support cloud authentication, not a mandatory requirement.This fix makes the cloud provider configuration fields optional so users can install operators first and configure cloud credentials as a Day-2 task.
Changes
requiredattribute andco-requiredCSS class from the token-auth input fieldsformValid()that blocked the install button when fields were emptyThe fields and warning banners still appear when applicable -- they just no longer block installation.
Test plan
token-auth-awsannotation on an AWS STS cluster without filling in the role ARN -- should succeedtoken-auth-gcpannotation on a GCP WI cluster without filling in GCP fields -- should succeedtoken-auth-azureannotation on an Azure WI cluster without filling in Azure fields -- should succeedSummary by CodeRabbit