Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.09 KB

submodules.md

File metadata and controls

29 lines (19 loc) · 1.09 KB

Submodules

To comply with client library structure requirement, python client base utilities is moved into the kubernetes-client/python-base repo. git submodules is being used to handle dependency to that repo. This document will provide basic steps to get submodules working.

Clone repo

To clone the repo, you need to pass the recursive parameter to make the clone also get submodules:

git clone --recursive https://github.com/kubernetes-client/python.git

if you have already cloned the repo with no --recursive option, you can run this command to get submodules:

git submodule update --init

Update submodule

If you changed kubernetes-client/python-base and want to pull your changes into this repo run this command:

git submodule update --remote

Once updated, you should create a new PR to commit changes to the repository.