score-spec / score-spec/score-compose
[feature request] Support `score-compose resources deprovision` subcommand
Open
@7h3-3mp7y-m4n is already working on this.
Since Apr 10, 2025.
- #296 by @7h3-3mp7y-m4n — closed without merging
discussion
enhancement
- Dominant language
- Go
- Stars
- 456
- Forks
- 62
- Avg merge
- 12h 20m
- Merged PRs (30d)
- 11
Description
The statefile and provisioners will happily create any resources referenced by the Score spec, however, these resources are not cleaned up if they are no longer referenced!
We need to add support for:
- After
generatelog a warning message indicating any resources in the statefile that are no longer used in the workload. - Indicate these "left over" resources in the
score-compose resources listtable. - Support a
deprovisionsubcommand which calls the provisioner with theDELETEaction and waits for the provisioner to return before removing it from the state file.
There is a similar issue open in score-k8s.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.