make the volume scripts ignore ephemeral volumes
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
BASEPATH="$(dirname "$0")"
|
||||
source "$BASEPATH/volume-utils.sh"
|
||||
static_file_list="$BASEPATH/static-file-path-list.txt"
|
||||
|
||||
# Read the JSON input and extract the list of keys
|
||||
keys=$(cat /root/rpc/$1.yml | yaml2json - | jq '.volumes' | jq -r 'keys[]')
|
||||
keys=$(get_persistent_volume_keys "/root/rpc/$1.yml")
|
||||
|
||||
static_size=0
|
||||
total_size=0
|
||||
|
||||
Reference in New Issue
Block a user