Skip to content

Introduce a way to specify template or workflow during machine deletion #463

@rahulbabu95

Description

@rahulbabu95

Description

Currently, CAPT (Cluster API Provider Tinkerbell) has the ability to create a default template during machine provisioning to boot into the actual OS. However, during machine deletion, there's no mechanism for users to specify custom cleanup workflows.

Problem Statement
When deleting machines, users often need to perform hardware-specific cleanup operations before powering off the machine, such as:

  • Wiping disks to ensure data security
  • Cleaning up EFI boot entries
  • Resetting hardware configurations
  • Running vendor-specific cleanup actions

Proposed Solution
Introduce a new field in the TinkerbellMachineTemplate CRD that allows users to specify a template to be executed during machine deletion.

Metadata

Metadata

Assignees

No one assigned

    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