Commit Graph

809 Commits

Author SHA1 Message Date
Nabarun Pal
5a67dd973a
Remove tests
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-10-14 21:20:51 +05:30
Nabarun Pal
96a86936bc
Generate updated client
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-10-14 21:20:51 +05:30
Nabarun Pal
d7e03986ce
Update constants to reflect 12.0.0 stable release
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-10-14 21:20:51 +05:30
dependabot[bot]
84362f8ce1
Bump actions/setup-python from v2.1.2 to v2.1.3
Bumps [actions/setup-python](https://github.com/actions/setup-python) from v2.1.2 to v2.1.3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.1.2...c181ffa198a1248f902bc2f7965d2f9a36c2d7f6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-14 21:20:51 +05:30
dependabot[bot]
e8fb24a38e
Bump actions/setup-python from v1 to v2.1.2
Bumps [actions/setup-python](https://github.com/actions/setup-python) from v1 to v2.1.2.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v1...24156c231c5e9d581bde27d0cdbb72715060ea51)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-14 21:20:51 +05:30
Tao He
0fc8aa228d
Fixes for code format.
Signed-off-by: Tao He <sighingnow@gmail.com>
2020-10-14 21:20:50 +05:30
Tao He
b5ec617e82
Returns the created k8s objects in create_from_{dict,yaml}.
Signed-off-by: Tao He <sighingnow@gmail.com>
2020-10-14 21:20:50 +05:30
Scott Lee
8c2bcc9f33
Address comments about hot issues 2020-10-14 21:20:50 +05:30
Scott Lee
fa4591f0ea
Update release README 2020-10-14 21:20:50 +05:30
Scott Lee
7ee9dd99f3
Remove redundant release doc 2020-10-14 21:20:50 +05:30
Brendan Burns
335fa5ad9e
Add dependabot. 2020-10-14 21:20:50 +05:30
Dylan Shepard
c343db1748
touching readme with newline to check test validity 2020-10-14 21:16:26 +05:30
Dylan Shepard
fbef9f1ef0
updating base for file-like config load support 2020-10-14 21:16:26 +05:30
Andreas Unterkircher
3459fe2cf2
remove duplicate-lines from kubernetes/README.md 2020-10-14 21:16:26 +05:30
Patrick J. McNerthney
a037380b40
Install socat on Kubernetes node for use by port forwarding. 2020-10-14 21:16:25 +05:30
Patrick J. McNerthney
bccdc73c3f
Update kubernetes/base to latest master with portforwarding implementation. 2020-10-14 21:16:25 +05:30
Patrick J. McNerthney
52f31ace7d
Support both python 2.7 and 3.x. 2020-10-14 21:16:25 +05:30
Patrick J. McNerthney
3c6e31abba
Fix tox errors. 2020-10-14 21:16:25 +05:30
Patrick J. McNerthney
b4db6d0ef1
Add test that checks for portforward port error return value. 2020-10-14 21:16:25 +05:30
Patrick J. McNerthney
c819a810d6
Rework port forwarding unittest and example. 2020-10-14 21:16:25 +05:30
Patrick J. McNerthney
d12a9a5717
Unittests and example for portforwarding ability added in python-base. 2020-10-14 21:16:24 +05:30
Kubernetes Prow Robot
ae3bce77fd
Merge pull request #1235 from palnabarun/release-12.0
Update client to 12.0.0b1
2020-09-09 11:13:07 -07:00
Nabarun Pal
48230f3428
Update the CHANGELOG and README
- Adds a bug fix on python-base Ref: https://github.com/kubernetes-client/python-base/pull/201
- https://github.com/kubernetes-client/python/pull/1220 wrongly added
changes to the 12.0.0a1 CHANGELOG. We should not modify CHANGELOGs after
a release is made.

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-08-19 18:38:15 +05:30
Nabarun Pal
0e9ba9494f
Cherry pick test for API client context manager
The implementation and tests were already picked up by the upstream OpenAPI
generator [here](https://github.com/OpenAPITools/openapi-generator/pull/5094).
Patching in the tests here for correctness and clarity.

Reference: https://github.com/kubernetes-client/python/pull/1073

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-08-19 18:31:52 +05:30
Nabarun Pal
aad4b97f2c
Add kubernetes.client.apis as an alias to kubernetes.client.api
Reference: https://github.com/kubernetes-client/python/issues/974

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-08-19 18:31:43 +05:30
Nabarun Pal
a08107f465
Fix custom objects API to preserve backward compatibility
Reference:
- [#866](https://github.com/kubernetes-client/python/issues/866)
- [#959](https://github.com/kubernetes-client/python/pull/959)

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-08-19 18:31:29 +05:30
Nabarun Pal
b4fb2c9b78
Generate updated client
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-08-19 18:31:11 +05:30
Nabarun Pal
23fa8ffcbe
Merge branch 'master' of github.com:kubernetes-client/python into release-12.0 2020-08-18 22:55:16 +05:30
Kubernetes Prow Robot
2ed00a993b
Merge pull request #1217 from scottilee/release-12.0
Release 12.0.0a1
2020-07-30 13:25:07 -07:00
Scott Lee
9da9a6dd98 Minor fixes 2020-07-30 12:47:24 -07:00
Kubernetes Prow Robot
b5603d8ee2
Merge pull request #1220 from greed42/plugin-certificates
Some checks failed
Kubernetes Python Client - Validation / build (2.7) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.5) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.6) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.7) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.8) (push) Has been cancelled
Update python base
2020-07-30 11:59:06 -07:00
Scott Lee
e700e97fd1 Remove py-e files 2020-07-30 11:07:08 -07:00
Graham Reed
5424e17c85 Update python base
To get auth plugin support for client certificates, ref. kubernetes-client/python-base#205
2020-07-30 18:22:48 +01:00
Scott Lee
f8b24b81d6 Update README 2020-07-29 23:15:34 -07:00
Scott Lee
40bd9f1c3d Remove gitlab yml file 2020-07-29 23:12:18 -07:00
Scott Lee
e36e95597b Cherry-pick hotfixes 2020-07-29 23:09:32 -07:00
Scott Lee
3e57e12757 Generate client and remove tests directory 2020-07-29 23:08:23 -07:00
Kubernetes Prow Robot
442ebc0190
Merge pull request #1204 from palnabarun/update-upstream-1-16-14
Update upstream version to 1.16.14
2020-07-20 09:58:52 -07:00
Nabarun Pal
22555d9fa5
Update upstream version to 1.16.14
There has been no API changes between 1.16.11 and 1.16.14

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-20 22:07:30 +05:30
Kubernetes Prow Robot
bc79976edf
Merge pull request #1188 from palnabarun/update-openapi-generator
Update OpenAPI generator and the client
2020-07-20 09:06:51 -07:00
Nabarun Pal
08ed6c24fb
Collate OpenAPI generator changes by version
The changes have been listed in the CHANGELOG and linked to the
respective milestone pull requests.

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-19 12:33:00 +05:30
Nabarun Pal
2a664669bc
Update CHANGELOG with latest changes from python-base
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-19 12:33:00 +05:30
Nabarun Pal
9a20c56cd5
Updates python-base submodule
Update from 49ec06096e to fb86b8acb6

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-17 04:06:00 +05:30
Nabarun Pal
47768af136
Update the hotfix script
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:40 +05:30
Nabarun Pal
da2579a56e
Update CHANGELOG with changes from python-base submodule
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:40 +05:30
Nabarun Pal
dae8285878
Cherry pick test for API client context manager
The implementation and tests were already picked up by the upstream OpenAPI
generator [here](https://github.com/OpenAPITools/openapi-generator/pull/5094).
Patching in the tests here for correctness and clarity.

Reference: https://github.com/kubernetes-client/python/pull/1073

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:40 +05:30
Nabarun Pal
146119213c
Add kubernetes.client.apis as an alias to kubernetes.client.api
Reference: https://github.com/kubernetes-client/python/issues/974

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:40 +05:30
Nabarun Pal
b78f5cfd6e
Fix custom objects API to preserve backward compatibility
Reference:
- [#866](https://github.com/kubernetes-client/python/issues/866)
- [#959](https://github.com/kubernetes-client/python/pull/959)

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:40 +05:30
Nabarun Pal
dea6754f9f
Update CHANGELOG
The upstream 1.16 API moved ahead due to [patch releases](https://github.com/kubernetes/sig-release/blob/master/releases/patch-releases.md).

The logs are gathered from the upstream [CHANGELOG](https://raw.githubusercontent.com/kubernetes/kubernetes/master/CHANGELOG/CHANGELOG-1.16.md).

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:40 +05:30
Nabarun Pal
ec9c944f07
Remove tests since they have syntactical issues and are noop
Reference: https://github.com/OpenAPITools/openapi-generator/issues/5377

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:39 +05:30