Commit Graph

170 Commits

Author SHA1 Message Date
Nabarun Pal
92bf36b283
Update constants to reflect Client release 17.0.0
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-07 16:10:08 +05:30
Patrick J. McNerthney
b1dd9c4f78 Install socat on Kubernetes node for use by port forwarding. 2020-09-08 17:16:17 -10:00
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
b4d11b02a3
Update client with OpenAPI generator v4.3.0
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:39 +05:30
Nabarun Pal
c206745dcd
Generate updated client 2020-04-03 01:46:00 +05:30
Nabarun Pal
3f0e7c7f22
Update constants
- KUBERNETES_BRANCH to "release-1.16"
- CLIENT_VERSION to "12.0.0-snapshot"
- DEVELOPMENT_STATUS to "3 - Alpha"
2020-03-30 23:15:57 +05:30
Kubernetes Prow Robot
943e06c5ce
Merge pull request #1103 from palnabarun/hotfix-process
Update the hotfix patch list and add a script to automate the patching process
2020-03-29 21:33:54 -07:00
Tomasz Prus
be66f96cdf fix: e2e tests with conntrack required by k8s/minikube 2020-03-28 02:10:38 +01:00
Nabarun Pal
7fa08b4b75
Add a script to apply hotfixes.sh 2020-03-18 02:27:35 +05:30
Haowei Cai
5cddbde0bf generated client change for 11.0.0-snapshot 2019-11-11 12:02:41 -08:00
Haowei Cai
6c015d1f9d update version constants for master branch 2019-11-11 12:02:38 -08:00
micw523
ab8b903488
Restore latest release of minikube 2019-08-13 14:08:49 -04:00
Haowei Cai
d300fd7809 use minikube 1.2.0 2019-08-08 13:33:56 -07:00
Kubernetes Prow Robot
4a204fa4cd
Merge pull request #732 from tomplus/feat/mvn
feat: remove dependency on mvn from updating script
2019-07-23 16:50:14 -07:00
Tomas Tomecek
3543417fb0 kube-init.sh: die is not a command
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2019-07-18 09:47:02 +02:00
Haowei Cai
8622ac4be4 generated client update for 10.0.0-snapshot 2019-07-01 15:20:01 -07:00
Oz N Tiram
d7300db66d Don't use latest stable version for minikube
Sometimes, minikube lags behind kubernetes which can lead
to a breakage of the test suite, since minikube will fail to start
with the latest kubernetes version.
See for example [this issue](https://github.com/kubernetes/minikube/issues/4371).

This change defaults to leave the decision of which k8s version to use,
to minikube itself. This is defined in:

https://github.com/kubernetes/minikube/master/pkg/minikube/constants/constants.go

However, if one really desires it is still possible to pass

`--kubernetes-version=X.Y.Z`

to minikube initialization start command via an environment variable
before invoking the test suite:

export $MINIKUBE_ARGS="--kubernetes-version=X.Y.Z"

This allows ofcourse passing other flags to minikube also.
2019-06-25 21:22:31 +02:00
Haowei Cai
b603b4a9c4 generated client change for 10.0.0-snapshot 2019-04-03 13:53:46 -07:00
Haowei Cai
f55d981346 update version constant for 10.0.0-snapshot 2019-04-03 13:03:29 -07:00
micw523
0bdb65185d
Update minikube version to "latest" 2019-03-26 14:52:16 -05:00
sai-adarsh
22db50ec7e Initial Commit
Initial Commit
2019-02-21 01:12:15 +05:30
Haowei Cai
1496a21b5e generated client change for 9.0.0b1 release 2019-02-06 15:20:25 -08:00
Tomasz Prus
ce188d5f0e feat: remove dependency on mvn from updating script 2019-01-21 01:17:05 +01:00
Haowei Cai
cd411d2707 generated client change for 9.0.0-snapshot version constant update 2018-12-07 16:43:15 -08:00
Haowei Cai
84b1198d78 Update version constants for k8s 1.13 release snapshot 2018-12-07 16:37:26 -08:00
Xianglong Wang
725687038f Add codestyle tracking, fix codestyle 2018-11-02 16:00:47 -05:00
k8s-ci-robot
bfb89c613d
Merge pull request #665 from micw523/k8s-version-upgrade
Update Travis CI to use most current k8s server version
2018-10-30 19:02:26 -07:00
micw523
e63905302f Upgrade Travis CI k8s version 2018-10-30 20:40:26 -05:00
micw523
6ea777e647 change pep8 into pycodestyle since pep8 is depreciated 2018-10-27 02:29:59 -05:00
Haowei Cai
9484a106f2 generated snapshot client for 8.0.0b1 release
against kubernetes 1.12.1 release (temp 1.12.2 openapi spec)
2018-10-15 14:58:13 -07:00
Haowei Cai
316509b32a generated client change for 8.0.0 snapshot on master branch
against kubernetes release-1.12 branch
2018-09-28 14:16:18 -07:00
Haowei Cai
d9533dcb23 Update version constants for 8.0.0-snapshot on master
against kubernetes 1.12.0 release
2018-09-28 14:10:04 -07:00
z_jay_v
0ff38b847d
fix typo 2018-08-30 13:00:41 -04:00
Haowei Cai
17db994abc generated client update
pick up change in kubernetes-client/gen: add custom object status
and scale api.
2018-08-13 18:16:44 -07:00
Haowei Cai
5f81a65909 Generated client change for Kubernetes 1.11 2018-07-11 13:31:26 -07:00
Haowei Cai
fb548ed7f9 Update version constants for master branch Kubernetes 1.11 snapshot 2018-07-11 13:31:24 -07:00
Haowei Cai
71b5abce5a Generated API change for kubernetes 1.10 2018-03-12 11:11:47 -07:00
Haowei Cai
828a4a01ec Bump constants to reflect kubernetes 1.10 2018-03-09 15:01:50 -08:00
Haowei Cai
f603fd6fad Generated API change for v6.0.0b1
add PATCH to custom_objects_api
documentation update: never let cluster-scoped resources skip webhooks
2018-03-09 11:09:40 -08:00
Haowei Cai
ed052519da Update org and repo name 2018-01-26 15:41:55 -08:00
Haowei Cai
3abfdf9ebd Update master to kubernetes 1.9 2018-01-26 13:44:27 -08:00
Haowei Cai
b49837bb13 Bump constants to reflect kubernetes 1.9 2018-01-26 13:43:06 -08:00
Haowei Cai
284e9d05bf Api change v1beta2 adding required controller spec selector fields 2018-01-25 15:29:54 -08:00
Yu Liao
e5ea1cf223 api change V1PersistentVolumeSpec to V1ScaleIOPersistentVolumeSource 2017-11-17 17:19:45 -08:00
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
mbohlool
4d14edb757 Add default kube config location 2016-12-15 14:47:24 -08:00
mbohlool
4d3307bf7d Fix failing setup.py 2016-12-14 18:21:07 -08:00
Tobias Bradtke
38888d3450 Add missing parentheses to print() 2016-12-14 12:50:06 +01:00
mbohlool
69d0d5c5bb Update generated client 2016-12-12 23:37:17 -08:00
mbohlool
2944e5b62c Set versions to snapshot for non-release branches 2016-12-12 23:37:16 -08:00
mbohlool
a7c3b634db Pass client version to client generator 2016-12-12 23:37:15 -08:00