Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump k8s packages to 1.17.6 #3163

Merged
merged 3 commits into from
May 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,22 @@ require (
golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
gomodules.xyz/jsonpatch/v2 v2.1.0 // indirect
google.golang.org/grpc v1.28.0
k8s.io/api v0.17.3
k8s.io/apiextensions-apiserver v0.17.2
k8s.io/apimachinery v0.17.3
k8s.io/apiserver v0.17.0
k8s.io/api v0.17.6
k8s.io/apiextensions-apiserver v0.17.6
k8s.io/apimachinery v0.17.6
k8s.io/apiserver v0.17.6
k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible
k8s.io/utils v0.0.0-20200124190032-861946025e34
knative.dev/pkg v0.0.0-20200525211048-874e3e0c13f5
knative.dev/test-infra v0.0.0-20200522180958-6a0a9b9d893a
knative.dev/pkg v0.0.0-20200527173759-2d1a04d1ff82
knative.dev/test-infra v0.0.0-20200527185659-fc87694eb879
sigs.k8s.io/yaml v1.2.0
)

replace (
github.com/prometheus/client_golang => github.com/prometheus/client_golang v0.9.2
k8s.io/api => k8s.io/api v0.16.4
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.16.4
k8s.io/apimachinery => k8s.io/apimachinery v0.16.4
k8s.io/client-go => k8s.io/client-go v0.16.4
k8s.io/code-generator => k8s.io/code-generator v0.16.4
k8s.io/api => k8s.io/api v0.17.6
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.17.6
k8s.io/apimachinery => k8s.io/apimachinery v0.17.6
k8s.io/client-go => k8s.io/client-go v0.17.6
k8s.io/code-generator => k8s.io/code-generator v0.17.6
)
68 changes: 37 additions & 31 deletions go.sum

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions hack/update-k8s-deps.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#!/usr/bin/env bash

# Copyright 2020 The Knative Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -o errexit
set -o nounset
set -o pipefail

export GO111MODULE=on
export K8S_VERSION="${1:-v0.17.6}"

K8S_DEPS=(
"k8s.io/api"
"k8s.io/apiextensions-apiserver"
"k8s.io/apimachinery"
"k8s.io/code-generator"
"k8s.io/client-go"
)

function update_module {
local dep="${1}"
local version="${2}"


echo "Updating ${dep} to ${version}"

go mod edit \
-require="${dep}@${version}" \
-replace="${dep}=${dep}@${version}"
}

for dep in "${K8S_DEPS[@]}"
do
update_module "${dep}" "${K8S_VERSION}"
done

./hack/update-deps.sh


Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/k8s.io/api/admissionregistration/v1beta1/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/k8s.io/api/autoscaling/v1/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/k8s.io/api/autoscaling/v2beta1/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions vendor/k8s.io/api/autoscaling/v2beta2/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 23 additions & 23 deletions vendor/k8s.io/api/certificates/v1beta1/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading