-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve envTest including PVC asserts
It's a good idea assert that a local pvc is created and exists when the main Glance CR is applied. This patch adds the related assert functions and check that a local PVC exists when Glance is created. Given that we are not enabling image-cache in the 'DefaultGlanceSpec', an additional assert that checks that a '-cache' pvc has not been provisioned during the creation phase. Signed-off-by: Francesco Pantano <[email protected]>
- Loading branch information
Showing
3 changed files
with
33 additions
and
8 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