From 7bb35ac87a8ada2601ff4af0db5c46dc92d76992 Mon Sep 17 00:00:00 2001 From: orcutt989 Date: Mon, 11 Sep 2023 13:15:49 -0400 Subject: [PATCH] set snapshot info --- snapshotEngine/snapshot-maker.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/snapshotEngine/snapshot-maker.sh b/snapshotEngine/snapshot-maker.sh index 2042a25b9..505e98221 100755 --- a/snapshotEngine/snapshot-maker.sh +++ b/snapshotEngine/snapshot-maker.sh @@ -1,7 +1,6 @@ #!/bin/bash -HISTORY_MODE="$(echo "$NODE_CONFIG" | jq -r ".history_mode")" -TARGET_VOLUME="$(echo "$NODE_CONFIG" | jq ".target_volume")" +TARGET_VOLUME="var-volume" PERSISTENT_VOLUME_CLAIM="$( kubectl get po -n "$NAMESPACE" -l node_class="$NODE_CLASS" \ -o jsonpath="{.items[0].spec.volumes[?(@.name==$TARGET_VOLUME)].persistentVolumeClaim.claimName}"