Skip to content

Commit 9cf6542

Browse files
marie-yauk8s-ci-robot
authored andcommitted
Improve kubernetes-client/gen documentation for {CLIENT_LANGUAGE}.sh … (#86)
* Improve kubernetes-client/gen documentation for {CLIENT_LANGUAGE}.sh (#85) * Update README.md * Update README.md
1 parent f1c2626 commit 9cf6542

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ are normally:
2424
- `CLIENT_VERSION`: Client version string. e.g. "1.0.0b1"
2525
- `PACKAGE_NAME`: Package name for the generated client. e.g. "kubernetes"
2626

27+
Example settings file for python-client:
28+
29+
export KUBERNETES_BRANCH="master"
30+
export CLIENT_VERSION="8.0.0b1"
31+
export PACKAGE_NAME="client"
32+
33+
Note: For generating the client for any language, the PACKAGE_NAME should be "client".
34+
You can use the latest version for the CLIENT_VERSION. It's displayed here for
35+
the python-client ( https://github.com/kubernetes-client/python ), and similarly
36+
for other language clients.
37+
2738
Recommended structure is to generate client in a folder called `kubernetes` at the root of
2839
the client repo and put all settings in a file named `settings` at the root of the repo.
2940
If you followed these recommendations, you can simply run autoupdate script anywhere inside

0 commit comments

Comments
 (0)