acorn-io / runtime

A simple application deployment framework built on Kubernetes
https://docs.acorn.io/
Apache License 2.0
1.13k stars 100 forks source link

Support wildcard patterns for deleting apps, secrets, and volumes #2338

Open njhale opened 10 months ago

njhale commented 10 months ago

Allow users to provide wildcard (*) patterns to select sets of resources to delete with the following acorn cli subcommands:

e.g. Wildcard volume deletion

$ acorn volumes -q
cache.foo.api
cache.foo.controller
cache.bar.api
cache.bar.controller

$ acorn volume rm 'cache*api'
cache.foo.api
cache.bar.api

$acorn volumes -q
cache.foo.controller
cache.bar.controller