Oz N Tiram
f6566ee5e6
Rename yml_document paramter and update documentation
...
Renaming `yml_document` in `create_from_dict` to data. This is a bit
clearer that this it a data item and not a string (usually document
read from the file system).
Also update the documentation to describe better what the functions
`create_from_dict` and `create_from_yaml` do.
2019-06-20 13:27:33 +02: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
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
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
micw523
0bdb65185d
Update minikube version to "latest"
2019-03-26 14:52:16 -05: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
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
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
ramnes
3240b45c46
Use yaml.safe_load
...
See #718 for rationale.
2019-01-09 10:10:48 +01:00
Kubernetes Prow Robot
30c3522f3b
Merge pull request #698 from roycaihw/release-9.0.0a1-preparation
...
Update master branch to 9.0.0-snapshot client
2018-12-27 09:50:38 -08:00
Haowei Cai
e7e077c965
Mention security fix in 9.0.0a1, 8.0.1 and 7.0.1 releases
2018-12-26 23:31:17 -08:00
Haowei Cai
b9d2679f4e
Duplicate the DELETE param changelog in Breaking Change
2018-12-18 05:01:47 -08:00
Kubernetes Prow Robot
37d831a95e
Merge pull request #707 from mbohlool/security-fix
...
Potential security fix CVE-2018-20060
2018-12-16 18:14:42 -08:00
Mehdy Bohlool
4763374eef
Potential security fix CVE-2018-20060
2018-12-17 10:19:33 +11:00
Haowei Cai
2af8df8f44
Add 6.1.0 and 8.0.1 changelog
2018-12-07 18:18:24 -08:00
Haowei Cai
f65d60fb4b
Update README and CHANGELOG for 9.0.0a1-preparation
2018-12-07 17:42:45 -08:00
Haowei Cai
cd411d2707
generated client change for 9.0.0-snapshot version constant update
2018-12-07 16:43:15 -08:00