Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use template when generating tempdir in verify-crds
Due to a bug in controller-gen[1] certain paths are incorrectly split and part of these paths can be interpreted as a numeric literal, which will cause controller-gen to fail. We observe this as occasional test flakes in the "verify-crds" target, when the tmpdir starts with a zero, such as in "/tmp/tmp.0PFqFSHBID" This commit attempts to avoid this bug by specifying a template for the tmpdir we generate when verifying CRDs which doesn't include any "." characters, which seem to be being split incorrectly. [1] kubernetes-sigs/controller-tools#734 Signed-off-by: Ashley Davis <[email protected]>
- Loading branch information