HYPERFLEET-1202 - refactor: update Maestro adapter CEL to use template platform type#64
Conversation
…e platform type Update adapter task-config and ManifestWork template to reference spec.platform.template instead of spec.platform.gcp, aligning with the E2E cluster payloads that now use the api-spec-template typed ClusterPlatformSpec.
|
[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 |
📝 WalkthroughWalkthroughTwo config files were modified to redirect platformType detection logic. The CEL precondition expression in adapter-task-config.yaml now checks Estimated code review effort: 2 (Simple) | ~10 minutes Changes
Security note: No dependency, CI/CD, IDE config, or .gitattributes files touched — no supply chain surface impacted in this diff. However, verify: mismatch between the CEL guard (checks Suggested labels: config, adapter, e2e Suggested reviewers: cl-maestro adapter owners 🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
|
/retest |
Summary
spec.platform.gcp.subnets→spec.platform.template.subnets{{ if eq .platformType "gcp" }}→{{ if eq .platformType "template" }}ClusterPlatformSpec(type: "template")Test plan