Skip to content

feat(profile): add --operator-channel and --catalog-source flags#806

Draft
jangel97 wants to merge 1 commit into
redhat-developer:mainfrom
jangel97:feature/operator-overrides
Draft

feat(profile): add --operator-channel and --catalog-source flags#806
jangel97 wants to merge 1 commit into
redhat-developer:mainfrom
jangel97:feature/operator-overrides

Conversation

@jangel97
Copy link
Copy Markdown
Contributor

@jangel97 jangel97 commented May 19, 2026

Summary

  • Add --operator-channel flag to override the OLM subscription channel per operator (e.g. --operator-channel serverless-operator=candidate)
  • Add --catalog-source flag to use a custom index image per operator (e.g. --catalog-source nfd=quay.io/my-team/index:test), creating a CatalogSource CR automatically
  • Validation runs before infrastructure provisioning to fail fast on invalid inputs
  • Override logic is centralized in installOperator() — no profile files need changes
  • Docs updated with usage examples and operator package name reference table

Test plan

  • Build passes
  • Validation catches empty keys/values before provisioning
  • End-to-end test with --operator-channel override
  • End-to-end test with --catalog-source override

Allow overriding the OLM subscription channel and catalog source per
operator when creating SNC clusters. This lets QE teams test specific
operator versions or custom index images without modifying profile code.

Validation runs before any infrastructure is provisioned to fail fast
on invalid inputs.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 19, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 36d5f805-666c-42f6-8fa7-31b3e825bc94

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant