Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ ENTRYPOINT ["/usr/local/bin/snapshot-agent"]
# PATH search — and so must this placeholder image (same BASE_IMAGE).
#
# Backend entrypoints run a restore standby path when the operator
# injects DYN_SNAPSHOT_RESTORE_STANDBY=1, then sleep while the
# injects SNAPSHOT_RESTORE_STANDBY=1, then sleep while the
# snapshot-agent restores into the container.
# =============================================================================
FROM ${BASE_IMAGE} AS placeholder
Expand Down
2 changes: 2 additions & 0 deletions e2e/snapshot_e2e/workloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ def restore_pod(
}
}
spec["containers"][0]["env"] = [
{"name": "SNAPSHOT_RESTORE_STANDBY", "value": "1"},
{"name": "DYN_SNAPSHOT_RESTORE_STANDBY", "value": "1"},
{"name": "SNAPSHOT_CONTROL_DIR", "value": CONTROL_DIR},
{"name": RESTORE_TOKEN_ENV, "value": run.restore_token},
Expand Down Expand Up @@ -204,6 +205,7 @@ def multi_restore_pod(
}
],
"env": [
{"name": "SNAPSHOT_RESTORE_STANDBY", "value": "1"},
{"name": "DYN_SNAPSHOT_RESTORE_STANDBY", "value": "1"},
{"name": "SNAPSHOT_CONTROL_DIR", "value": CONTROL_DIR},
{"name": RESTORE_TOKEN_ENV, "value": restore_tokens[destination]},
Expand Down