Commit Graph

973 Commits

Author SHA1 Message Date
Alexey Volkov
a579f15868
Fix broken dependencies.
All our libraries that depended on `kubernetes` started breaking today.
The reason is that pip does not do a good job properly resolving the compatible package versions.
It just install packages in order without caring about the incompatibilities.
The urllib3 package installed is incompatible with the `requests` package that's getting installed later.

Changing the order fixes the issue.
2019-04-22 18:09:08 -07:00
Oz N Tiram
139848efcb Relax pycodestyle: import only allowed at the top
While this is a really good convention, sometimes one must import
stuff inside a try except block. This block is still at the top, but pycodestyle
treats like it isn't, because it's in an idented block, and the outeer scope.
2019-04-09 23:42:01 +02:00
Oz N Tiram
38894cc397
Fix import for StringIO
This is embarrassing.
2019-04-09 23:03:02 +02:00
Oz Tiram
408d405704 Handle StringIO for Python2 properly 2019-04-09 22:51:54 +02:00
Kubernetes Prow Robot
7fb3a25176
Merge pull request #809 from axelsteingrimsson/add_email_scope_to_gcp_credentials_refresh_submodule
Updating Submodule for GCP Email Scope Addition
2019-04-09 10:00:45 -07:00
axelsteingrimsson
914b6aacf6 Updating Submodule for GCP Email Scope Addition 2019-04-09 10:20:59 +02:00
Oz Tiram
8d41478ed8 Explicitly use other deployment names for test
Using `nginx-app` deployment multiple times, is problematic because we get
conflicts or not found error.

Instead of trying to handle all cases, explicit different names
are used now. The tests now runs more reliably
2019-04-08 13:54:26 +02:00
Oz Tiram
2b83c683f8 Fix for a flaky test failing because k8s is slow
We create a deployment and do the following:

```
self.assertIsNotNone(dep)
```

Which does not fail, and then the code proceeds to deletion
and fails with a 404 execption in 80% of the time, but sometimes
it works. The deployment is there, but for some reason not available for
deletion.
Travis CI also showed inconsitent behaviour on this. Python3.5 passed
but all other version failed.
With this commit we wait for the deployment to become available for
deletion and only then continue.
2019-04-08 13:17:25 +02:00
Johannes M. Scheuermann
80339ef3f7 Add more documentation to new namespace parameter 2019-04-08 07:52:01 +02:00
Oz N Tiram
e8fd4b9af9 Drop Python3.4
Python3.4 become EOL on 2019.03.18.

 https://www.python.org/dev/peps/pep-0429/
2019-04-05 21:20:48 +02:00
Oz Tiram
0779fc9c66 Fix collection of execptions when applying yaml
This fixes of all tests and keeps the original API.

 It's the users responsiblility to do something the execptions
 when using `create_from_dict`, no air bag or breaks are supplied here.
2019-04-05 08:20:57 +02:00
Oz Tiram
18f45c9cec Fix wrong import name 2019-04-05 06:30:43 +02:00
Oz Tiram
50ef8746a9 Merge branch 'master' into util-improvements 2019-04-05 00:23:34 +02:00
Kubernetes Prow Robot
6d4587e180
Merge pull request #804 from roycaihw/10.0.0-snapshot
Update python-base submodule and re-generated client to 10.0.0-snapshot
2019-04-03 18:42:48 -07:00
Haowei Cai
292b04b298 update changelog and readme in preparation for 10.0.0a1 2019-04-03 16:47:51 -07: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
Haowei Cai
35c06bb509 update changelog for changes from python-base submodule 2019-04-03 12:58:51 -07:00
Haowei Cai
52ba6399c4 update python-base submodule 2019-04-03 10:25:21 -07:00
Kubernetes Prow Robot
1115bca657
Merge pull request #767 from micw523/yaml-rbac
Add Rbac support for creating from YAML
2019-04-01 16:46:35 -07:00
Kubernetes Prow Robot
6a4935e2ed
Merge pull request #797 from micw523/patch-2
Long term solution for using minikube in CI
2019-04-01 13:06:34 -07:00
Oz Tiram
cee4e49eda Rename create_from_map to create_from_dict, add tests 2019-03-26 23:54:34 +01:00
Oz Tiram
aa28bc7067 Allow create from string or from dict
This is a fix for #722
2019-03-26 23:26:08 +01:00
Johannes M. Scheuermann
15d36c9688 Use optional parameter for method 2019-03-26 21:45:14 +01:00
micw523
0bdb65185d
Update minikube version to "latest" 2019-03-26 14:52:16 -05:00
Johannes M. Scheuermann
06776ced35 Rebase code and add namespaced method 2019-03-25 16:17:12 +01:00
Xianglong Wang
9b989ddc2d Add rbac support for yaml 2019-03-20 17:54:33 -05:00
Kubernetes Prow Robot
0af22b1556
Merge pull request #789 from roycaihw/update-readme
update changelog and readme in master branch
2019-03-20 10:33:43 -07:00
Haowei Cai
d5b163bd97 update changelog and readme 2019-03-20 10:23:43 -07:00
Kubernetes Prow Robot
84c057bfac
Merge pull request #673 from micw523/yaml-list
Extend YAML load functionality to *LIST and multi-resources
2019-03-19 13:22:24 -07:00
haiker2011
630b0ac15d fix code style 2019-03-19 16:03:37 +08:00
haiker2011
9d12fe40f2 Add Job examples 2019-03-19 15:44:35 +08:00
micw523
c0f71c3ba6 Add list / multi resource support 2019-03-19 00:36:32 -05:00
Kubernetes Prow Robot
374233d05c
Merge pull request #779 from chowmean/proxy-header-option
Adding proxy headers options for configurations.
2019-03-15 15:26:57 -07:00
chowmean
8c9494ecf9 adding proxy headers settings for proxy_manager 2019-03-16 00:20:12 +05:30
Kubernetes Prow Robot
fcda6fe96b
Merge pull request #766 from Sai-Adarsh/master
Fixes Setup.py error on Windows #676
2019-02-20 13:45:37 -08:00
sai-adarsh
22db50ec7e Initial Commit
Initial Commit
2019-02-21 01:12:15 +05:30
Haowei Cai (Roy)
2c02595fa4
Merge pull request #668 from iamneha/adal
Fix: Make dependancy adal optional
2019-02-07 14:29:52 -08:00
Neha Yadav
3d125557c5 Make dependancy adal optional 2019-02-08 03:23:29 +05:30
Kubernetes Prow Robot
67d30a03fb
Merge pull request #748 from roycaihw/base-update
Update base module and regenerate client for 9.0.0b1
2019-02-07 11:11:29 -08:00
Haowei Cai
e35611ca62 remove patch backup 2019-02-06 17:20:12 -08:00
Kubernetes Prow Robot
7486e196b6
Merge pull request #746 from rlenferink/patch-owners
Updated OWNERS file to include link to docs
2019-02-06 15:53:38 -08:00
Haowei Cai
0ebe1663c0 Update changelog 2019-02-06 15:21:18 -08:00
Haowei Cai
1496a21b5e generated client change for 9.0.0b1 release 2019-02-06 15:20:25 -08:00
Haowei Cai
af3f77fed9 update python-base submodule 2019-02-06 15:09:47 -08:00
Roy Lenferink
bbe14e8a57 Updated OWNERS file to include link to docs 2019-02-04 19:03:05 +01:00
Tomasz Prus
ce188d5f0e feat: remove dependency on mvn from updating script 2019-01-21 01:17:05 +01:00
Kubernetes Prow Robot
ed18ea8d70
Merge pull request #724 from xvello/xvello/safe-yaml
Update python-base ref to include yaml security fix
2019-01-14 11:58:46 -08:00
Kubernetes Prow Robot
430544b615
Merge pull request #719 from ramnes/use-safe-load
Use yaml.safe_load
2019-01-09 09:36:49 -08:00
Xavier Vello
fb73617f61 Update python-base ref to include yaml security fix 2019-01-09 11:27:33 +01:00