forked from kserve/kserve
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cherry pick] Set the volume mount's readonly annotation based on the…
… ISVC annotation (#413) * Set the volume mount's readonly annotation based on the ISVC annotation Signed-off-by: Hannah DeFazio <h2defazio@gmail.com> Signed-off-by: Hannah DeFazio <h2defazio@gmail.com> Signed-off-by: Hannah DeFazio <h2defazio@gmail.com> * fixes Signed-off-by: Hannah DeFazio <h2defazio@gmail.com> * Cleanup Signed-off-by: Hannah DeFazio <h2defazio@gmail.com> * Add test case where readonly is unset, check values Signed-off-by: Hannah DeFazio <h2defazio@gmail.com> * Use StorageInitializerVolumeName constant Signed-off-by: Hannah DeFazio <h2defazio@gmail.com> * Set the readonly value for the storage-initializer Signed-off-by: Hannah DeFazio <h2defazio@gmail.com> * Add tests for direct pvc volume mount use case Signed-off-by: Hannah DeFazio <h2defazio@gmail.com> --------- Signed-off-by: Hannah DeFazio <h2defazio@gmail.com> Co-authored-by: Spolti <fspolti@redhat.com>
- Loading branch information
Showing
4 changed files
with
453 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.