Skip to content

Automatic Cleanup on Branch Deletion #80

@stephane-segning

Description

@stephane-segning

Summary

As a DevOps engineer, I want branch deletion to automatically delete the deployed environment.

Acceptance Criteria

Given branch-per-env GitOps,
when branch is deleted,
then ArgoCD prunes all resources.

  • It’s done when namespaces are removed.
  • It’s done when shared resources are protected.

Additional Sections

  • Design: Branch delete → webhook → ArgoCD API.
  • Technical Information: ArgoCD automated prune.
  • Notes: Must prevent accidental prod deletion.

Definition of Done

  • Cleanup automation tested.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions