Skip to content

Commit 682d158

Browse files
authored
Merge pull request #1517 from mikebrow/fix-e2e-bucket
hard set kubernetes version not in vendor.conf anymore
2 parents 98aadbb + f5c7ac9 commit 682d158

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

hack/test-e2e-node.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,7 @@ fi
6262
GOPATH=${GOPATH%%:*}
6363

6464
# Get kubernetes
65-
from-vendor KUBERNETES k8s.io/kubernetes
66-
# k8s.io is actually a redirect, but we do not handle the go-import
67-
# metadata which `go get` and `vndr` etc do. Handle it manually here.
68-
if [ x"$KUBERNETES_REPO" = "xk8s.io" ] ; then
69-
KUBERNETES_REPO="https://github.com/kubernetes/kubernetes"
70-
fi
65+
KUBERNETES_REPO="https://github.com/kubernetes/kubernetes"
7166
KUBERNETES_PATH="${GOPATH}/src/k8s.io/kubernetes"
7267
if [ ! -d "${KUBERNETES_PATH}" ]; then
7368
mkdir -p ${KUBERNETES_PATH}

hack/utils.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/..
1818

1919
# Not from vendor.conf.
20+
KUBERNETES_VERSION="v1.19.0-beta.2"
2021
CRITOOL_VERSION=${CRITOOL_VERSION:-75ef33dc2b4ecb08e0237d91de1b664909d262de}
2122
CRITOOL_PKG=github.com/kubernetes-sigs/cri-tools
2223
CRITOOL_REPO=github.com/kubernetes-sigs/cri-tools

pkg/server/image_pull.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ func (c *criService) getTLSConfig(registryTLSConfig criconfig.TLSConfig) (*tls.C
284284
if len(cert.Certificate) != 0 {
285285
tlsConfig.Certificates = []tls.Certificate{cert}
286286
}
287-
tlsConfig.BuildNameToCertificate()
287+
tlsConfig.BuildNameToCertificate() // nolint:staticcheck
288288
}
289289

290290
if registryTLSConfig.CAFile != "" {

0 commit comments

Comments
 (0)