mbohlool
7c1819373f
Change IntOrString field types from string to object
2017-10-17 07:52:35 -07:00
mbohlool
6b1a80c67f
Updte master to kubernetes 1.8
2017-10-09 17:56:32 -07:00
mbohlool
19359213b5
Update CHANGELOGS and final touch ups
2017-10-09 17:32:19 -07:00
mbohlool
789e37464b
Fix (hack) rest client for patch
2017-10-09 17:15:34 -07:00
mbohlool
63d667a45e
Update generated client first
2017-10-09 17:15:04 -07:00
Jochen Breuer
1054f10c6d
Introducing __version__ and __project__ variables
...
Version information comes from scripts/constants.py and is hard-coded to
kubernetes/__init__py by scripts/update-client.sh.
__project__ is just hard-coded.
Fixes #317
2017-08-16 08:11:47 +02:00
mbohlool
b4f852a9d9
update generated client to get https://github.com/kubernetes/kubernetes/pull/49357
2017-08-10 17:33:39 -07:00
Mehdy Bohlool
f6d80b06cf
Merge pull request #287 from dims/use-latest-localkube
...
Test with latest localkube version
2017-07-07 11:35:01 -07:00
Davanum Srinivas
ebb23b7ca1
Test with latest localkube version
...
Oops! we are using a really old version, let's switch over to v1.7.0
2017-07-07 13:41:12 -04:00
Mehdy Bohlool
917ec63d51
Support both TPR and CRD with custom objects spec ( #283 )
...
* Add ability to use local gen repo for testing
* Update generated client
2017-07-07 10:26:25 -07:00
mbohlool
d2d49146e5
Use kubernetes-client/gen generators to generate python client
2017-07-06 06:03:29 -07:00
mbohlool
ef558a5ce4
Update generated client
2017-06-29 01:34:59 -07:00
mbohlool
21e071a5da
Master to follow kubernetes 1.7 branch
2017-06-29 01:32:19 -07:00
Ebbe Elsborg
b0bc0beac4
Generate client with 'name' and 'namespace' swapped for TPRs
2017-06-23 09:17:58 +02:00
Ebbe Elsborg
02283ea5d1
Swap parameters 'name' and 'namespace' for TPRs
...
This is to align with the standard API.
Note: This is a breaking change.
2017-06-23 09:16:03 +02:00
Ebbe Elsborg
1849b1fe56
Generate client with 'version' parameter
2017-06-21 13:42:34 +02:00
Ebbe Elsborg
69bce1aeb2
Parametrize resource path with 'version' parameter
...
Add parameter 'name' to update operation
2017-06-21 13:42:34 +02:00
Ebbe Elsborg
2e67319b97
Run update-client.sh
2017-06-21 13:42:34 +02:00
mbohlool
8a3b2bae14
Update generated client for TPR fix
2017-05-21 22:58:45 -07:00
mbohlool
19ce362d9f
Fix update client script to ignore kubernetes/base folder
2017-05-21 22:58:45 -07:00
mbohlool
bf337a5390
Fix TPRs security
2017-05-21 22:37:27 -07:00
mbohlool
e7a257a9ee
Update client (only version changes)
2017-05-21 22:36:27 -07:00
mbohlool
23b0f8c008
Update generated client
2017-05-19 15:27:35 -07:00
mbohlool
1672ded330
Add OperationIDs to third party resources spec
2017-05-19 15:26:08 -07:00
Jonathan Kosgei
dab09e0e92
Add support for thirdparty resource watch/create/put and delete operations ( #216 )
...
Add third-party-resources paths to OpenAPI spec to be able to create/update/watch third party resources.
2017-05-18 00:37:30 -07:00
mbohlool
735286472c
Use swagger-codegen 2.2.2 stable
2017-05-04 10:54:41 -07:00
Mehdy Bohlool
c5347acfbc
Update update-client.sh
...
Generator script post-processing if failing if development status has `/` in it. this is true for stable releases.
2017-05-03 11:37:59 -07:00
mbohlool
f5ec773830
Update generated client
2017-04-25 14:11:04 -07:00
mbohlool
07013a0722
Remove Spec Version constant as the main spec is versioned now
2017-04-25 14:11:04 -07:00
Mehdy Bohlool
cba33ac0d4
Merge branch 'master' into cherry
2017-04-24 11:49:53 -07:00
mbohlool
f567e82801
Update (and generalize) cherry pick script for client-python
2017-04-20 13:48:08 -07:00
mbohlool
7408d902fc
Copy original cherry pick script from kubernetes main repo
2017-04-20 13:41:52 -07:00
mbohlool
cfc0ff1a0d
Update client
2017-04-17 16:37:09 -07:00
mbohlool
fbdff46af0
Inline primitive models in preprocessing
2017-04-17 16:35:57 -07:00
mbohlool
35ca453a47
Update client code
2017-04-05 15:24:07 -07:00
mbohlool
f41a863d24
Promote OpenAPI spec version to kubernetes 1.6.1
2017-04-05 15:24:06 -07:00
mbohlool
5d19799574
preprocessing script to shorten model names as much as possible
2017-04-05 14:14:58 -07:00
Davanum Srinivas
353e8ccdc8
Switch to minikube/localkube
...
* Drop the old Kubernetes on docker containers method as it
did not have a SSL enabled port
* Use localkube component from minikube instead. This enables
us to drop the hitch TLS proxy as well.
* E2E tests should be easy to run locally and pick up configuration
from ~/.kube/config
* Consolidate the urls in one spot (base.py), also consolidate the
SkipTest in one spot.
* For local testing, just run minikube and run the py27 or py34 tox
target, that should run all the tests including the e2e tests.
* Fix the connect_post_namespaced_pod_exec and add a e2e test for it
Fixes #122
2017-02-09 15:49:04 -05:00
Davanum Srinivas
96cfceb2f0
Run e2e tests against against https url
...
Use hitch tls proxy to listen on 8443 port and forward the
traffic to 8080. Add a configuration option to ignore any
issues with host names as we don't generate the cert on the
fly.
2017-02-03 12:16:58 -05:00
mbohlool
c05b50c4ff
Bugfix: kubernetes/client/__init__.py was not updated resulting in not exported models
2017-01-19 13:58:20 -08:00
mbohlool
98dc69105f
Update client with no change. Mostly formatting update in generator code
2017-01-19 13:36:07 -08:00
Davanum Srinivas
5c82309840
tox target to enforce pep8
2017-01-12 16:47:45 -05:00
Davanum Srinivas
010af62b76
Add functional test
...
Port a bunch of tests from python-k8sclient repository. There
is a script that starts a real instance of kubernetes and
the tests are executed against it.
Note, if you just have k8s accessible in your localhost:8080, the
tests still run. so you don't really need to run "py27-functional"
which runs the kube-init.sh
Also, 2 API calls fail currently, i've added a TODO so we can
dig into them and fix them
2017-01-12 06:26:16 -05:00
mbohlool
b971b6b5d1
Update generated client after bugfix kubernetes/kubernetes#39465
2017-01-10 13:20:19 -08:00
mbohlool
1c563ec073
Update spec version to latest spec in k8s 1.5 release
2017-01-10 13:20:02 -08:00
mbohlool
58aa16506e
Extract DevelopmentStatus as a constant to scripts/constants.py
2017-01-10 11:35:18 -08:00
mbohlool
68e6fd2bbc
Update release steps to add source distribution
2017-01-03 14:09:12 -08:00
mbohlool
ac03642173
Stop exporting script folder
2016-12-28 03:55:42 -08:00
mbohlool
610a1f5794
document release steps in a bash file.
2016-12-27 17:15:47 -08:00
mbohlool
8c26b4b75b
Support connecting to multiple clusters
2016-12-16 01:50:07 -08:00