sonobuoy: Fixes wrong "v" behaviour

Adjust the generated manifests by placing the character v in the sonobuoy version, successfully pulling the image within the cluster and running smoothly.

Signed-off-by: Bryan A. S <bryanasdev000@gmail.com>
This commit is contained in:
Bryan A. S 2020-11-02 02:49:59 -03:00 committed by Frederik Rietdijk
parent 27e9328895
commit 22dd82ce98

View File

@ -13,7 +13,7 @@ buildGoModule rec {
let t = goPackagePath;
in ''
-ldflags=
-s -X ${t}/pkg/buildinfo.Version=${version}
-s -X ${t}/pkg/buildinfo.Version=v${version}
-X ${t}/pkg/buildinfo.GitSHA=${rev}
-X ${t}/pkg/buildDate=unknown
'';