feat: Init argo rollouts #52
Loading…
Reference in a new issue
No description provided.
Delete branch "argocd-rollouts/init"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Review Summary
This PR adds Argo Rollouts support by introducing a new
rolloutEnabledparameter tolib.my.mkApplicationand the web application template, deploying the argo-rollouts controller in infra via Helm, and converting the dev toolbox Deployment to a blueGreen Rollout.The Nix template integration is clean — rollout support flows through
lib.my.mkApplication→templates.webApplicationwith proper build-time assertion gating onreadinessPath. The generator correctly handles only theRolloutCRD kind. The argo-rollouts Helm deployment in infra includes the expected CRDs (rollouts, experiments, analysisruns, analysistemplates, clusteranalysistemplates) and appropriate ClusterRoles.The manifest diff was reviewed by clank-bot which correctly identified the blocking issue: the active service
Service-toolbox-svc.yamlis missing from the generated manifests. The template generates both services, but the diff only shows the preview service. This is a manifest regeneration issue, not a code bug — it can be fixed by runningjust build devand committing the updated manifests. I've verified the template logic is correct.The
readinessTimeoutSeconds: 2default and chart duplication betweengenerators.nixandenv/infra/argo-rollouts.nixwere already flagged by clank-bot as secondary concerns and are acceptable for this initial integration.*🤖 Review by opencode (opencode/mimo-v2.5-free) — verdict: approve
Code review findings from opencode.
@ -0,0 +1,16 @@apiVersion: v1@ -39,1 +44,4 @@})# Argo Rollouts CRD resource options(generators.fromChartCRDModule {@ -122,0 +142,4 @@description = "Seconds between readiness probes.";};readinessTimeoutSeconds = mkOption {type = types.ints.positive;