-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure conformance image version is prefixed with 'v' (#717)
When using flags to set the kube-conformance-image-version the `Set` method ends up stripping the `v` prefix which it requires the user to provide. This causes a problem because the rest of the codebase assumes the version will start with that prefix due to the fact that that is how images are tagged (for Sonobuoy, Heptio kube-conformance, and for upstream conformance images). This change just adds the prefix back after validating the version and updates the tests to actually check for the version that gets persisted. Fixes #716 Signed-off-by: John Schnake <jschnake@vmware.com>
- Loading branch information
1 parent
770b85b
commit affd4fb
Showing
2 changed files
with
31 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