Commit 8bdfcac3 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add release removal.

parent d5f75fb2
......@@ -2,6 +2,12 @@
These scripts and files serve various convenience or support functions.
### Clean Up Validation Helm Charts
A script to remove all the text file validation charts released on the kubernetes cluster.
Just run `./` to execute.
### Formats
See local readme for details. Used to update the format facet labels.
import json
import subprocess
if __name__ == '__main__':
with open('current_releases.json', 'r') as fp:
releases = json.load(fp)
for release in releases:
if release['chart'].startswith('text-file-validation'):["helm", "uninstall", release['name']])
\ No newline at end of file
helm list --output json > current_releases.json
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment