Skip to content

Commit

Permalink
set snapshot info
Browse files Browse the repository at this point in the history
  • Loading branch information
orcutt989 committed Sep 11, 2023
1 parent ce88a20 commit 7bb35ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions snapshotEngine/snapshot-maker.sh
Original file line number Diff line number Diff line change
@@ -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}"
Expand Down

0 comments on commit 7bb35ac

Please sign in to comment.