Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 3654ac1

Browse files
authored
Upgrade to kubernetes-1.14.2 (#16)
1 parent 8adcef2 commit 3654ac1

2,264 files changed

Lines changed: 242742 additions & 95313 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Gopkg.lock

Lines changed: 270 additions & 139 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ required = [
66
"k8s.io/code-generator/cmd/lister-gen",
77
"k8s.io/code-generator/cmd/deepcopy-gen",
88
"k8s.io/code-generator/cmd/defaulter-gen",
9-
"k8s.io/code-generator/cmd/openapi-gen",
10-
"k8s.io/apimachinery/pkg/apimachinery/registered",
119
]
1210

1311
[[constraint]]
@@ -20,23 +18,23 @@ required = [
2018

2119
[[constraint]]
2220
name = "k8s.io/client-go"
23-
version = "kubernetes-1.10.0"
21+
version = "kubernetes-1.14.2"
2422

2523
[[constraint]]
2624
name = "k8s.io/api"
27-
version = "kubernetes-1.10.0"
25+
version = "kubernetes-1.14.2"
2826

2927
[[constraint]]
3028
name = "k8s.io/apimachinery"
31-
version = "kubernetes-1.10.0"
29+
version = "kubernetes-1.14.2"
3230

3331
[[constraint]]
3432
name = "k8s.io/code-generator"
35-
version = "kubernetes-1.10.0"
33+
version = "kubernetes-1.14.2"
3634

3735
[[constraint]]
3836
name = "k8s.io/apiextensions-apiserver"
39-
version = "kubernetes-1.10.0"
37+
version = "kubernetes-1.14.2"
4038

4139
[prune]
4240
go-tests = true
@@ -49,4 +47,4 @@ required = [
4947
[[prune.project]]
5048
name = "k8s.io/client-go"
5149
unused-packages = false
52-
non-go = false
50+
non-go = false

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ A Framework represents an application with a set of Tasks:
5454
7. Aligned with Kubernetes [Controller Design Guidelines](https://github.com/kubernetes/community/blob/master/contributors/devel/controllers.md) and [API Conventions](https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md)
5555

5656
## Prerequisite
57-
1. A Kubernetes cluster, v1.10 or above, on-cloud or on-premise.
57+
1. A Kubernetes cluster, v1.14.2 or above, on-cloud or on-premise.
5858

5959
## Quick Start
6060
1. [Run Controller](example/run)

hack/update-all.sh

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#!/bin/bash
2+
3+
# MIT License
4+
#
5+
# Copyright (c) Microsoft Corporation. All rights reserved.
6+
#
7+
# Permission is hereby granted, free of charge, to any person obtaining a copy
8+
# of this software and associated documentation files (the "Software"), to deal
9+
# in the Software without restriction, including without limitation the rights
10+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
# copies of the Software, and to permit persons to whom the Software is
12+
# furnished to do so, subject to the following conditions:
13+
#
14+
# The above copyright notice and this permission notice shall be included in all
15+
# copies or substantial portions of the Software.
16+
#
17+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
# SOFTWARE
24+
25+
set -o errexit
26+
set -o nounset
27+
set -o pipefail
28+
29+
BASH_DIR=$(cd $(dirname ${BASH_SOURCE}) && pwd)
30+
PROJECT_DIR=${BASH_DIR}/..
31+
CODEGEN_DIR=${PROJECT_DIR}/pkg/client
32+
CODEGEN_FILE=${PROJECT_DIR}/pkg/apis/frameworkcontroller/v1/zz_generated.deepcopy.go
33+
GOPKG_LOCK_FILE=${PROJECT_DIR}/Gopkg.lock
34+
35+
cd ${PROJECT_DIR}
36+
37+
# Remove possible stale import in generated code
38+
rm -rf ${CODEGEN_DIR} ${CODEGEN_FILE} ${GOPKG_LOCK_FILE}
39+
40+
# Update dependent package for non-generated code, such as the code-generator itself
41+
${BASH_DIR}/update-dep.sh
42+
43+
# Generate code
44+
${BASH_DIR}/update-codegen.sh
45+
46+
# Update dependent package for generated code
47+
${BASH_DIR}/update-dep.sh
48+
49+
echo Succeeded to update all

hack/update-push-all.sh

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#!/bin/bash
2+
3+
# MIT License
4+
#
5+
# Copyright (c) Microsoft Corporation. All rights reserved.
6+
#
7+
# Permission is hereby granted, free of charge, to any person obtaining a copy
8+
# of this software and associated documentation files (the "Software"), to deal
9+
# in the Software without restriction, including without limitation the rights
10+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
# copies of the Software, and to permit persons to whom the Software is
12+
# furnished to do so, subject to the following conditions:
13+
#
14+
# The above copyright notice and this permission notice shall be included in all
15+
# copies or substantial portions of the Software.
16+
#
17+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
# SOFTWARE
24+
25+
set -o errexit
26+
set -o nounset
27+
set -o pipefail
28+
29+
BASH_DIR=$(cd $(dirname ${BASH_SOURCE}) && pwd)
30+
PROJECT_DIR=${BASH_DIR}/..
31+
32+
cd ${PROJECT_DIR}
33+
34+
git pull
35+
${BASH_DIR}/update-all.sh
36+
git add --all
37+
git status
38+
read -rsp $'Press enter to continue...\n'
39+
40+
git commit -m "Update all"
41+
git push

pkg/apis/frameworkcontroller/v1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/clientset/versioned/clientset.go

Lines changed: 1 addition & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/clientset/versioned/doc.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/clientset/versioned/fake/clientset_generated.go

Lines changed: 6 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/clientset/versioned/fake/doc.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)