Comments (8)
Following this page (https://github.com/golang/go/wiki/Modules#faqs--multi-module-repositories) descirption.
I push a new tag pkg/util/log/glog/v0.0.0
to work around github.com/golang/[email protected] unknow revision
.
// go.mod
module github.com/t1mt/test
go 1.13
require tkestack.io/tke v1.0.1
replace tkestack.io/tke v1.0.1 => github.com/t1mt/tke v1.0.1
replace github.com/golang/glog v0.0.0 => github.com/t1mt/tke/pkg/util/log/glog v0.0.0
But, I got another one
go: tkestack.io/[email protected] requires
k8s.io/[email protected]: reading k8s.io/api/go.mod at revision v0.0.0: unknown revision v0.0.0
from tke.
I set GOPRIVATE
env , but doesn't work.
// go.mod
module github.com/t1mt/test
go 1.13
require tkestack.io/tke v1.0.1
replace tkestack.io/tke v1.0.1 => github.com/t1mt/tke v1.0.1
from tke.
Let me sort out the reference method of the dependency, minimize the use of replace
, and facilitate the reference of TKE as a module.
from tke.
I set
GOPRIVATE
env , but doesn't work.// go.mod module github.com/t1mt/test go 1.13 require tkestack.io/tke v1.0.1 replace tkestack.io/tke v1.0.1 => github.com/t1mt/tke v1.0.1
Yes, my last answer was wrong, so I have deleted
from tke.
Thanks, when will it be ready?
from tke.
It's ok, but you need add replace to your project:
replace (
// wait https://github.com/chartmuseum/storage/pull/34 to be merged
github.com/chartmuseum/storage => github.com/choujimmy/storage v0.5.1-0.20191225102245-210f7683d0a6
github.com/deislabs/oras => github.com/deislabs/oras v0.8.0
// wait https://github.com/dexidp/dex/pull/1607 to be merged
github.com/dexidp/dex => github.com/choujimmy/dex v0.0.0-20191225100859-b1cb4b898bb7
k8s.io/client-go => k8s.io/client-go v0.17.0
)
In kubernetes 1.17.0 and above, the git.etcd.io/etcd package has been referenced by default. If dex/chartmuseum and kubernetes are referenced in the same project, it will cause etcd's authpb to be registered repeatedly and panic will occur.
from tke.
Seems not working @choujimmy
the fatal error is glog
referenceed unknown version
github.com/golang/[email protected]: reading github.com/golang/glog/go.mod at revision v0.0.0: unknown revision v0.0.0
go.mod
has updated like yours
module github.com/John-Lin/client
go 1.13
replace (
// wait https://github.com/chartmuseum/storage/pull/34 to be merged
github.com/chartmuseum/storage => github.com/choujimmy/storage v0.5.1-0.20191225102245-210f7683d0a6
github.com/deislabs/oras => github.com/deislabs/oras v0.8.0
// wait https://github.com/dexidp/dex/pull/1607 to be merged
github.com/dexidp/dex => github.com/choujimmy/dex v0.0.0-20191225100859-b1cb4b898bb7
k8s.io/client-go => k8s.io/client-go v0.17.0
tkestack.io/tke => github.com/tkestack/tke v1.0.1
)
require tkestack.io/tke v1.0.1
from tke.
it looks like next release will fixed
from tke.
Related Issues (20)
- image can not show in tkestack console when deleted and repush again HOT 1
- Support higher k8s version HOT 1
- Support Kubespray Ansible Cluster & Machine Provider
- log message is not right when network is unstable
- platform controller will crash if MaxNodePodNum is nil
- 17.Install tke-registry-api [Failed] [600.058036s] error timed out waiting for the condition HOT 2
- 更改镜像仓库域名后,“镜像上传指引”中未同步 HOT 1
- install安装时报错、Setup local registry [Failed] HOT 1
- 1.7.1版本的tke,在使用1年后,管理集群出现x509的相关错误,无法连接创建的集群,且无法更新证书。 HOT 1
- add application chart option to replace crds before install or upgrade
- How to create a new tenant HOT 1
- 走读代码对 获取 deployment 相关事件 功能的疑问 HOT 2
- Did you forget to upload the changelog of v1.9.1? HOT 1
- tke的prometheus如何增加自定义告警规则
- prometheus新增自定义规则失败
- tke-inistaller 提示的访问链接错误Bug HOT 1
- k8s Worker节点网卡名称与k8s Master节点网卡名称不一致的功能考虑
- 404 not found HOT 2
- v1.9登录容器异常
- tke
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tke.