COO-1550: apply cluster TLS profile to health-analyzer#1070
COO-1550: apply cluster TLS profile to health-analyzer#1070openshift-merge-bot[bot] merged 1 commit intorhobs:mainfrom
Conversation
|
@tremes: This pull request references COO-1550 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 task 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. |
|
Important Review skippedAuto reviews are limited based on label configuration. 🚫 Review skipped — only excluded labels are configured. (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThe health analyzer Deployment constructor now takes a Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@pkg/controllers/uiplugin/health_analyzer.go`:
- Around line 121-123: The condition checking pluginInfo.TLSCiphers is wrong
(len(...) >= 0 is always true) so it appends an empty --tls-cipher-suites= flag;
update the guard to check for len(pluginInfo.TLSCiphers) > 0 before appending to
args so the fmt.Sprintf("--tls-cipher-suites=%s", strings.Join(...)) call only
runs when TLSCiphers is non-empty (referencing pluginInfo.TLSCiphers and the
args append in health_analyzer.go).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Organization UI (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 030b99ce-a707-401c-83a8-841cd9858d9c
📒 Files selected for processing (2)
pkg/controllers/uiplugin/components.gopkg/controllers/uiplugin/health_analyzer.go
13e58d6 to
191aba5
Compare
|
/lgtm |
|
/approve |
|
Thanks for approval @jgbernalp. I think this also needs an update of health-analyzer image reference here (to pass the new added E2E test). I will build and tag some health-analyzer rc0 image. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jgbernalp, tremes The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
COO-1550