truestuff/get-cnpg-apps.sh

8 lines
140 B
Bash
Executable File

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