Revert "allow ldflags to overwrite k8s version"

Signed-off-by: Matthew Fisher <matt.fisher@fermyon.com>
pull/10365/head
Matthew Fisher 4 years ago committed by Matthew Fisher
parent f86694232b
commit 95c9c39843
No known key found for this signature in database
GPG Key ID: 887ED80487CE4E0F

@ -28,10 +28,12 @@ import (
helmversion "helm.sh/helm/v3/internal/version" helmversion "helm.sh/helm/v3/internal/version"
) )
var ( const (
k8sVersionMajor = 1 k8sVersionMajor = 1
k8sVersionMinor = 20 k8sVersionMinor = 20
)
var (
// DefaultVersionSet is the default version set, which includes only Core V1 ("v1"). // DefaultVersionSet is the default version set, which includes only Core V1 ("v1").
DefaultVersionSet = allKnownVersions() DefaultVersionSet = allKnownVersions()

@ -25,7 +25,7 @@ import (
kscheme "k8s.io/client-go/kubernetes/scheme" kscheme "k8s.io/client-go/kubernetes/scheme"
) )
var ( const (
// This should be set in the Makefile based on the version of client-go being imported. // This should be set in the Makefile based on the version of client-go being imported.
// These constants will be overwritten with LDFLAGS // These constants will be overwritten with LDFLAGS
k8sVersionMajor = 1 k8sVersionMajor = 1

Loading…
Cancel
Save