hajowieland
4e535772a4
Correct alignment
2019-06-01 13:44:12 +02:00
Quan Tian
7ac1070077
Fix AttributeError in create_from_yaml
...
Some models don't have attribute 'status', like V1ConfigMap,
V1ClusterRole, and V1NetworkPolicy. AttributeError would be raised if
these resources are created via create_from_yaml with verbose enabled.
This patch checks if attribute 'status' exists before accessing it.
2019-05-03 10:41:00 -07:00
Kubernetes Prow Robot
5e512ff564
Merge pull request #820 from scottilee/docs
...
Correct inconsistent spacing and typos
2019-04-27 09:04:21 -07:00
Scott Lee
89de1fa321
Correct inconsistent spacing and typos
2019-04-26 21:30:42 -07:00
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
Kubernetes Prow Robot
1d5231cee6
Merge pull request #110 from axelsteingrimsson/add_email_scope_to_gcp_credentials_refresh
...
Add email scope to GCP provided credential refresh
2019-04-08 13:26:27 -07: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
511243a341
Drop Python3.4
...
Python 3.4 has become EOL on March 18, 2019.
https://www.python.org/dev/peps/pep-0429/
2019-04-05 21:21:04 +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
Ben Picolo
72a02cca50
Merge remote-tracking branch 'upstream/master' into fix_base64_padding_for_kconfig
2019-03-30 09:35:41 -04:00
Ben Picolo
b3ddbd903a
Add tests for updated pieces
2019-03-30 09:23:03 -04: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
5c03b3b237
Merge pull request #94 from tomplus/feat/merge-kubeconfigs
...
feat: merging kubeconfig files
2019-03-18 10:22:31 -07:00
Tomasz Prus
328b2d1245
feat: merging kubeconfig files
2019-03-15 23:42:43 +01: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
c4de8bdf40
Merge pull request #93 from mitar/watch_and_logs
...
Making watch work with read_namespaced_pod_log
2019-03-14 15:33:31 -07:00
Mitar
972a76a83d
Don't use break inside finally.
...
It swallows exceptions.
2019-02-20 23:56:38 -08:00
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
Mitar
ad06e5c923
Added tests.
2019-02-18 16:43:50 -08:00