DynamicClient.server_side_apply is designed to accept a dict or a ResourceInstance as body. However, if a dict or a ResourceInstance is passed actually, an error occurs because RESTClientObject.rest cannot interpret the Content-Type application/apply-patch+yaml. So, modify RESTClientObject.rest to treat application/apply-patch+yaml as other json-based Content-Types. |
||
|---|---|---|
| .. | ||
| .github | ||
| config | ||
| dynamic | ||
| hack | ||
| leaderelection | ||
| stream | ||
| watch | ||
| .gitignore | ||
| .travis.yml | ||
| code-of-conduct.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| OWNERS | ||
| README.md | ||
| run_tox.sh | ||
| SECURITY_CONTACTS | ||
| tox.ini | ||
python-base
This is the utility part of the python client. It has been added to the main repo using git submodules. This structure allow other developers to create their own kubernetes client and still use standard kubernetes python utilities. For more information refer to clients-library-structure.
Contributing
Please see CONTRIBUTING.md for instructions on how to contribute.