Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
💤 Files with no reviewable changes (2)
📝 WalkthroughWalkthroughThis change removes Helm hook annotations from two workflow template manifests and adds uninstall cleanup logic for the evaluation extension in the quick-start script, ensuring consistent state across reinstalls. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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 |
Summary
helm.sh/hookannotations fromClusterWorkflowTemplateandWorkflowCR in the evaluation extension chart so they are created as regular Helm resourcesamp-evaluation-extensiontouninstall.shcleanup and addEVALUATION_NSvariableFixes #569
Why
Commits 6cab0e8/8a893cb1 converted these resources to Helm hooks (
post-install,post-upgrade). In dev mode (VERSION=0.0.0-dev), the chart doesn't exist in the OCI registry sohelm installfails silently — neither theWorkflowCR norClusterWorkflowTemplateget created, causing all monitor creation to fail withWorkflow not found.These hooks were unnecessary — the evaluation extension always installs after the OpenChoreo build plane which already registers the Argo Workflows CRDs.
Test plan
./install.shinsideamp-quick-startcontainerkubectl get workflows.openchoreo.dev -Ashowsmonitor-evaluation-workflowkubectl get clusterworkflowtemplateshowsamp-monitor-evaluationWorkflow not founderror./uninstall.shand confirmamp-evaluation-extensionis uninstalled cleanlySummary by CodeRabbit