Skip to content

Commit

Permalink
Add levels for handling spec validation via flag.
Browse files Browse the repository at this point in the history
Replaces the flag "unsafe-skip-restore-spec-validation" with
"restore-spec-validation" which allows the user to set the level of restore
spec validation such as ignore, warning or enforce. This allows user to skip
validation if required. By default, the flag will be set to "enforce" which
will perform spec validation.

This is a breaking change for users who have enabled
--unsafe-skip-restore-spec-validation flag. We advise these users to use the
new flag introduced in this change: --restore-spec-validation and set it to
"warning" or "ignore". This setting (--restore-spec-validation=warning) gives
the same behavior as when the old flag was enabled.

PiperOrigin-RevId: 719045616
  • Loading branch information
nybidari authored and gvisor-bot committed Jan 24, 2025
1 parent c238e15 commit 1c38b6c
Show file tree
Hide file tree
Showing 6 changed files with 532 additions and 412 deletions.
Loading

0 comments on commit 1c38b6c

Please sign in to comment.