Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show only objects older than a specific amount of time #5

Open
dudicoco opened this issue Oct 14, 2020 · 0 comments
Open

Show only objects older than a specific amount of time #5

dudicoco opened this issue Oct 14, 2020 · 0 comments

Comments

@dudicoco
Copy link

Hi,

One great use of this tool would be to garbage collect versioned configmaps, similar to the example output in the readme:

$ untrak -c untrak.yaml -o text
- api/ConfigMap/django-config-b4k42gm792
- api/ConfigMap/django-config-g55mctg456

Sometimes though, this might output configmaps which are still in use (perhaps as part of a rolling update), but are no longer in the scm (for example, when using the helm.sh/resource-policy: keep annotation).

I suggest adding a parameter to show objects only older than a a specified amount of days.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant