Skip to content

[Roadmap] Progressive GitOps enablement with Atlantis #266

@accuser

Description

@accuser

Context

The Atlantis module exists and the GitOps infrastructure is in place (#177, closed). This issue tracks the operational rollout strategy — progressively enabling Atlantis from read-only to full autonomous apply.

Current State

Progressive Enablement Stages

Stage 1: Plan-only mode (low risk)

Atlantis comments tofu plan output on PRs but cannot apply.

Prerequisites:

  • Deploy Atlantis with enable_gitops = true
  • Configure GitHub webhook
  • Set --disable-apply flag in Atlantis config

Value: Reviewers see plan output directly in PR without running locally.

Stage 2: Gated apply for non-destructive changes

Atlantis can apply changes that only create or update resources. Destructive changes (destroy, replace) require manual make apply.

Prerequisites:

Value: Routine changes (new services, config updates) flow through GitOps.

Stage 3: Full apply with post-apply verification

Atlantis can apply all changes, with automated verification gates.

Prerequisites:

Value: Full GitOps — merge to main triggers apply, verification confirms success.

Stage 4: Multi-environment promotion

Changes are applied to cluster01 first, verified, then promoted to iapetus (or vice versa).

Prerequisites:

  • All Stage 3 prerequisites
  • Atlantis multi-environment workflow configuration
  • Environment-specific approval gates

Value: Blast radius limited by staged rollout.

Key Dependencies

#262 Secrets management ──────┐
#223 State locking ───────────┤
#237 Drift detection ─────────┼──► Stage 3: Full GitOps
#225 Health checks ───────────┤
#264 Post-apply verification ─┘

Acceptance Criteria

  • Stage 1 operational (plan comments on PRs)
  • Stage 2 operational (non-destructive auto-apply)
  • Stage 3 operational (full apply with verification)
  • Stage 4 operational (multi-environment promotion)

Priority

Medium — strategic goal, dependencies must be resolved first

Metadata

Metadata

Assignees

No one assigned

    Labels

    ci-cdCI/CD pipeline improvementsenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions