HYPERFLEET-869 - feat: update e2e repository to new sentinel config schema#67
HYPERFLEET-869 - feat: update e2e repository to new sentinel config schema#67rh-amarin wants to merge 1 commit intoopenshift-hyperfleet:mainfrom
Conversation
|
[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 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughHelm chart configuration keys were adjusted in deployment scripts. In deploy-scripts/lib/sentinel.sh, API and broker settings were moved from Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
deploy-scripts/lib/sentinel.sh
Outdated
| --set "image.repository=${SENTINEL_IMAGE_REPO}" | ||
| --set "image.tag=${SENTINEL_IMAGE_TAG}" | ||
| --set "config.hyperfleetApi.baseUrl=${api_url}" | ||
| --set "config.clients.hyperfleetApi.baseUrl=${api_url}" |
There was a problem hiding this comment.
Category: JIRA
The JIRA ticket HYPERFLEET-869 lists 5 acceptance criteria but this PR only addresses the config.clients.hyperfleetApi.baseUrl path change. The remaining items are still using old config paths:
- Broker config (lines 58-60) — still uses
broker.type,broker.googlepubsub.projectId,broker.googlepubsub.createTopicIfMissing. Per the ticket, these should move toconfig.clients.broker.* - messageData block (lines 68-70) —
config.messageData.owner_references.*should be removed per the ticket ("messageData block no longer part of Sentinel config") - resourceType (line 57) —
config.resourceTypeshould be replaced byconfig.sentinel.name - sentinel name —
config.sentinel.nameshould be set tohyperfleet-sentinel-clustersorhyperfleet-sentinel-nodepoolsdepending on resource type
Are these being addressed in a separate PR, or should they be included here?
There was a problem hiding this comment.
The ticket was wrong for points 2, 3 and 4. I changed it
The sentinel PR itself was also wrong, since helm values for broker were at root level and not under config.clients.broker, now they are
https://redhat.atlassian.net/browse/HYPERFLEET-869
Updates the sentinel deployment script to use the new
config.clients.hyperfleetApi.baseUrlHelm value path introduced by HYPERFLEET-549, replacing the old
config.hyperfleetApi.baseUrlContext
HYPERFLEET-549 adopted the HyperFleet Configuration Standard in the Sentinel service, which
restructured the config schema — moving
hyperfleetApiunder aclientsgrouping. HYPERFLEET-866aligned the infra Helm chart default values accordingly. This PR keeps the e2e deploy scripts in
sync with that change.
Test plan
Summary by CodeRabbit