HYPERFLEET-786 - chore: align adapter values to Helm chart conventions#26
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughThis PR refactors Helm chart configuration and dependencies across multiple Sentinel and adapter charts. The root Helm values key for Sentinel changes from Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Comment |
f82b03e to
b5f35ab
Compare
|
/retest |
b5f35ab to
3312b66
Compare
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@helm/sentinel-clusters/Chart.yaml`:
- Line 11: The Chart dependency's repository field currently points to a
personal fork and a mutable branch ref
("git+https://github.com/xueli181114/hyperfleet-sentinel@charts?ref=HYPERFLEET-786");
change it to the official hyperfleet-sentinel repository and use an immutable
ref (a release tag or commit SHA) instead of the branch name so the chart
dependency is reproducible—update the repository value and ref in the repository
string in Chart.yaml for the sentinel-clusters chart (and apply the same change
in the sentinel-nodepools Chart.yaml) to reference e.g. the upstream URL with a
tag or SHA.
In `@helm/sentinel-nodepools/Chart.yaml`:
- Line 11: Replace the dependency repository value that currently points to
"git+https://github.com/xueli181114/hyperfleet-sentinel@charts?ref=HYPERFLEET-786"
with the organization-owned repo URL
"git+https://github.com/openshift-hyperfleet/hyperfleet-sentinel@charts" and pin
the ref query to an immutable identifier (a commit SHA or a released tag)
instead of the branch name; update the repository string in the Chart.yaml
dependency entry(s) for the sentinel charts (the repository field) and ensure
all other chart dependencies use the same org repo and immutable refs so
reproducibility and supply-chain integrity are preserved.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: c91d305a-016f-4e0b-89d3-d00a9bfabd9f
📒 Files selected for processing (9)
Makefilehelm/adapter1/Chart.yamlhelm/adapter2/Chart.yamlhelm/adapter3/Chart.yamlhelm/sentinel-clusters/Chart.yamlhelm/sentinel-clusters/values.yamlhelm/sentinel-nodepools/Chart.yamlhelm/sentinel-nodepools/values.yamlscripts/tf-helm-values.sh
✅ Files skipped from review due to trivial changes (3)
- helm/adapter3/Chart.yaml
- helm/adapter1/Chart.yaml
- helm/adapter2/Chart.yaml
🚧 Files skipped from review as they are similar to previous changes (3)
- scripts/tf-helm-values.sh
- helm/sentinel-nodepools/values.yaml
- helm/sentinel-clusters/values.yaml
3312b66 to
f4c4e54
Compare
f4c4e54 to
f9a1500
Compare
|
/retest |
f9a1500 to
4c3976f
Compare
|
/retest |
1 similar comment
|
/retest |
|
/retest-required |
22717b6 to
42b8b5d
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 86254860 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 |
Summary
helm/adapter1/2/3/values.yamlimage.repositoryto include org path (openshift-hyperfleet/hyperfleet-adapter)scripts/tf-helm-values.shto generate camelCase keysAligns with the Helm chart conventions standard defined in openshift-hyperfleet/architecture#108.
Depends on: openshift-hyperfleet/hyperfleet-adapter#85
Relates to: HYPERFLEET-786
Summary by CodeRabbit