HYPERFLEET-1057 - fix: Update sentinel release name to match e2e name#56
HYPERFLEET-1057 - fix: Update sentinel release name to match e2e name#56ma-hill wants to merge 1 commit into
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 |
📝 WalkthroughWalkthroughIn Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Security note — CWE-807 (Reliance on Untrusted Inputs in a Security Decision):
🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
|
|
||
| {{ range .Values.sentinels }} | ||
| - name: {{ .name }} | ||
| - name: sentinel-{{ .name }} |
There was a problem hiding this comment.
Hi @ma-hill,
I was thinking about potential impact on (production) environments, if any, that already have used this helmfile.
Is the thinking that we are instructing end-users/partners to destroy the existing sentinels anyway when upgrading to 1.0.0? (openshift-hyperfleet/architecture#157).
So that is why we don't care about this renaming leaving the old resources orphaned and creating new ones?
|
|
||
| {{ range .Values.sentinels }} | ||
| - name: {{ .name }} | ||
| - name: sentinel-{{ .name }} |
There was a problem hiding this comment.
Tip
nit — non-blocking suggestion
Category: Pattern
This renames the Helm release for all environments (e2e + kind + gcp), which means existing deployments will get orphaned releases under the old names. Consider adding a note under [Unreleased] in CHANGELOG.md:
### Changed
- Sentinel Helm release names now use `sentinel-` prefix (`sentinel-clusters`, `sentinel-nodepools`) to match e2e naming conventions — existing releases under the old names must be manually removed
Summary
Update helmfile.yaml.gotmpl to match e2e testing of sentinel names, based on what's defined here:
https://github.com/openshift-hyperfleet/hyperfleet-e2e/blob/main/pkg/helper/constants.go#L14
Test Plan
Notes: