This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump k8s dependency to 1.19 and add context support (#126)
* Bump k8s dependency to 1.19 and add context support 1. Upgrade k8s dependency to 1.19 2. 1.18 client-go add context and extra options. Adapt to the new changes. 3. Upgrade golang to 1.15 to match golang used in 1.19 Signed-off-by: Jiaxin Shan <[email protected]> * Regenerate objects using latest codegen and openapi * Update CI golang version to 1.15
- Loading branch information
Showing
16 changed files
with
1,744 additions
and
261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
language: go | ||
|
||
go: | ||
- "1.13" | ||
- "1.15" | ||
|
||
go_import_path: github.com/kubeflow/common | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,43 @@ | ||
module github.com/kubeflow/common | ||
|
||
go 1.13 | ||
go 1.15 | ||
|
||
require ( | ||
github.com/go-openapi/spec v0.19.2 | ||
github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef // indirect | ||
github.com/googleapis/gnostic v0.2.0 // indirect | ||
github.com/imdario/mergo v0.3.7 // indirect | ||
github.com/prometheus/client_golang v1.5.1 | ||
github.com/sirupsen/logrus v1.4.2 | ||
github.com/stretchr/testify v1.4.0 | ||
k8s.io/api v0.16.15 | ||
k8s.io/apimachinery v0.16.15 | ||
k8s.io/client-go v0.16.15 | ||
k8s.io/code-generator v0.16.15 | ||
k8s.io/kube-openapi v0.0.0-20200410163147-594e756bea31 | ||
volcano.sh/apis v1.2.0-k8s1.16.15 | ||
github.com/go-openapi/spec v0.19.3 | ||
github.com/prometheus/client_golang v1.7.1 | ||
github.com/sirupsen/logrus v1.6.0 | ||
k8s.io/api v0.19.9 | ||
k8s.io/apimachinery v0.19.9 | ||
k8s.io/client-go v0.19.9 | ||
k8s.io/code-generator v0.19.9 | ||
k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6 | ||
volcano.sh/apis v1.2.0-k8s1.19.6 | ||
) | ||
|
||
|
||
replace ( | ||
k8s.io/api => k8s.io/api v0.16.9 | ||
k8s.io/apimachinery => k8s.io/apimachinery v0.16.10-beta.0 | ||
k8s.io/client-go => k8s.io/client-go v0.16.9 | ||
k8s.io/code-generator => k8s.io/code-generator v0.16.10-beta.0 | ||
k8s.io/api => k8s.io/api v0.19.9 | ||
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.19.9 | ||
k8s.io/apimachinery => k8s.io/apimachinery v0.19.9 | ||
k8s.io/apiserver => k8s.io/apiserver v0.19.9 | ||
k8s.io/cli-runtime => k8s.io/cli-runtime v0.19.9 | ||
k8s.io/client-go => k8s.io/client-go v0.19.9 | ||
k8s.io/cloud-provider => k8s.io/cloud-provider v0.19.9 | ||
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.19.9 | ||
k8s.io/code-generator => k8s.io/code-generator v0.19.9 | ||
k8s.io/component-base => k8s.io/component-base v0.19.9 | ||
k8s.io/cri-api => k8s.io/cri-api v0.16.10-beta.0 | ||
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.19.9 | ||
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.19.9 | ||
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.19.9 | ||
k8s.io/kube-proxy => k8s.io/kube-proxy v0.19.9 | ||
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.19.9 | ||
k8s.io/kubectl => k8s.io/kubectl v0.19.9 | ||
k8s.io/kubelet => k8s.io/kubelet v0.19.9 | ||
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.19.9 | ||
k8s.io/metrics => k8s.io/metrics v0.19.9 | ||
k8s.io/node-api => k8s.io/node-api v0.19.9 | ||
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.19.9 | ||
k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.19.9 | ||
k8s.io/sample-controller => k8s.io/sample-controller v0.19.9 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.