--
Chartprobe is a command-line app for chartmuseum,which provides some common request templates .
~ > cat museum.yaml
# specify your host
CHARTPROBE_HOST: http://YOUR_CHARTMUSEUM_HOST/YOUR_REPO
- Get
- Get by chartname prefix:
chartprobe get --prefix your_chart_prefix
- Get all:
chartprobe get -a
- Get by chartname prefix:
- Delete
- Delete by chartname prefix:
chartprobe -c museum.yaml delele --prefix your_chart_prefix
- Delete all:
chartprobe -c museum.yaml delete -a
- Delete charts spawned during 24h:
chartprobe -c museum.yaml delete --period 24h
- Delete by chartname prefix:
Tap chartprobe -h to seek more help .
~ > docker pull ghcr.io/ezbuy/chartprobe:latest
~ > docker run -name chartprobe -e CHARTPROBE_HOST="your_museum_host" -e CHARTPROBE_PERIOD="-168h" ghcr.io/ezbuy/chartprobe:latest delete -a
# replace cronjob.yaml's TODO with yourself configration
#
~ > kubectl apply -f cronjob.yaml -n YOUR_NAMESPACE