Skip to content

Commit baa8b39

Browse files
authored
Merge pull request kubernetes#76567 from liggitt/client-go-install
Update client-go module install instructions
2 parents 44f254d + 62b4bcd commit baa8b39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

staging/src/k8s.io/client-go/INSTALL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ for each follows.
6565
### Go modules
6666

6767
Dependency management tools are built into go 1.11+ in the form of [go modules](https://github.com/golang/go/wiki/Modules).
68-
These are used by the main Kubernetes repo (>= 1.15) and `client-go` (>= v12.0) to manage dependencies.
68+
These are used by the main Kubernetes repo (>= 1.15) and `client-go` (on master, and v12.0.0+ once released) to manage dependencies.
6969
When using `client-go` v12.0.0+ and go 1.11.4+, go modules are the recommended dependency management tool.
7070

7171
If you are using go 1.11 or 1.12 and are working with a project located within `$GOPATH`,
@@ -83,10 +83,10 @@ go mod init
8383
```
8484

8585
Indicate which version of `client-go` your project requires.
86-
For `client-go` 12.0.0+, this is a single step:
86+
For `client-go` on master (and once version v12.0.0 is released), this is a single step:
8787

8888
```sh
89-
go get k8s.io/client-go@v12.0.0 # replace v12.0.0 with the required version
89+
go get k8s.io/client-go@master # or v12.0.0+ once released
9090
```
9191

9292
For `client-go` prior to v12.0.0, you also need to indicate the required versions of `k8s.io/api` and `k8s.io/apimachinery`:

0 commit comments

Comments
 (0)