Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
Signed-off-by: Florent David <[email protected]>
  • Loading branch information
Ripolin committed Oct 12, 2023
1 parent 33bf3b3 commit da2024a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/main/restore-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Below are the annotations that can be added to a pod to specify exec restore hoo
* `post.hook.restore.velero.io/wait-timeout`
* How long to wait for a container to become ready. This should be long enough for the container to start plus any preceding hooks in the same container to complete. The wait timeout begins when the container is restored and may require time for the image to pull and volumes to mount. If not set the restore will wait indefinitely. Optional.
* `post.hook.restore.velero.io/wait-for-ready`
* String representation of a boolean that ensure command will be launched when underlying container is fully [Ready](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-readiness-probes). Use with caution because if only one restore hook consists of `WaitForReady` flag as "true", all the other hook executions will wait for `Ready` state too. Any value except "true" will be considered as "false". Defaults is false. Optional.
* String representation of a boolean that ensure command will be launched when underlying container is fully [Ready](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-readiness-probes). Use with caution because if only one restore hook for a pod consists of `WaitForReady` flag as "true", all the other hook executions for that pod, whatever their origin (`Backup` or `Restore` CRD), will wait for `Ready` state too. Any value except "true" will be considered as "false". Defaults is false. Optional.

#### Exec Restore Hooks As Pod Annotation Example

Expand Down

0 comments on commit da2024a

Please sign in to comment.