mirror of https://github.com/helm/helm
Non-standard build toolchains (Bazel) cannot use debug.ReadBuildInfo(), so add -X ldflags variables (kubeClientVersionMajorOverride, kubeClientVersionMinorOverride) that take precedence when set. This partially reverts the approach from PR #31296, allowing Bazel builds to specify the client-go version without relying on debug.BuildInfo. Signed-off-by: Md Mushfiqur Rahim <mushfiqur.rahim.official@gmail.com> Signed-off-by: Developer <dev@example.com>pull/32157/head
parent
f060b6e8ce
commit
ca5c9362f6
Loading…
Reference in new issue