added get-cnpg-apps.sh

This commit is contained in:
Lockszmith 2023-11-15 20:01:30 -05:00
parent 489050ee7e
commit e227daa453
1 changed files with 7 additions and 0 deletions

7
get-cnpg-apps.sh Executable file
View File

@ -0,0 +1,7 @@
#! /usr/bin/env bash
k3s kubectl get pvc -A --output name \
| grep cnpg-main \
| sed -e 's|^.*/||; s|-cnpg-main-.*$||;' \
| sort --unique