fix: cleanup flux crds
This commit is contained in:
parent
c378ac662f
commit
7b8ba0ad3f
@ -75,6 +75,13 @@ flux_handler() {
|
||||
|
||||
for FILE in "${WORKDIR}"/*.json; do
|
||||
FILENAME=$(basename "$FILE")
|
||||
|
||||
case "$FILENAME" in
|
||||
all.json | _definitions.json)
|
||||
continue
|
||||
;;
|
||||
esac
|
||||
|
||||
PREFIX="${FILENAME%%\-*}"
|
||||
MIDDLE="${FILENAME#*-}"
|
||||
SUFFIX="${MIDDLE#*-}"
|
||||
|
Loading…
Reference in New Issue
Block a user