Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

[Proposal] Support Archive instead of Delete in GitHub Repository #15

Open
Feggah opened this issue Sep 27, 2021 · 1 comment
Open

[Proposal] Support Archive instead of Delete in GitHub Repository #15

Feggah opened this issue Sep 27, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Feggah
Copy link

Feggah commented Sep 27, 2021

What problem are you facing?

The deletion process of the repository is the same for other managed resources: Delete or Orphan. But, specially for GitHub Repos, there are some organizations that has some policies of instead of delete the repository, change it to Archived (that's the reality in my company).

How could Crossplane help solve your problem?

We should have an option for the deletion process that would archive the repository instead of deleting it.

Proposal

As discussed with @negz in the slack thread, we should have an optional parameter in the resource called deleteAction which is an Enum with the options Delete|Archive. This field will defaults to Delete.

The naming suggestion for this field was from @dgmorales

@Feggah Feggah added the enhancement New feature or request label Sep 27, 2021
@Feggah
Copy link
Author

Feggah commented Sep 27, 2021

Related to #13

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant