Commit Graph

630 Commits

Author SHA1 Message Date
Scott Lee
9dbbc6959a Add issue templates (#916)
* Add issue templates

* Include feedback fixes

* Fix wording
2019-08-13 12:31:42 -07:00
Kubernetes Prow Robot
b51037f02b
Merge pull request #918 from roycaihw/minikube-1.15.1
Temporary pin minikube to 1.2.0 due to regression in 1.3.0
2019-08-08 16:49:25 -07:00
Haowei Cai
d300fd7809 use minikube 1.2.0 2019-08-08 13:33:56 -07:00
Haowei Cai (Roy)
b403562b94
CHANGELOG for removing use of alpha initializers 2019-08-06 18:48:15 -07:00
Kubernetes Prow Robot
1d51d5ab57
Merge pull request #915 from scottilee/owners
Move inactive members to emeritus
2019-08-05 11:17:51 -07:00
Scott Lee
959c863051 Move inactive members to emeritus 2019-08-02 16:24:00 -07:00
Kubernetes Prow Robot
c1842a3e53
Merge pull request #893 from oz123/docs_update
Docs update
2019-08-02 14:47:56 -07:00
Kubernetes Prow Robot
b723cc0a96
Merge pull request #786 from haiker2011/master
feat: add Job examples
2019-08-02 13:05:52 -07:00
Kubernetes Prow Robot
14a63f81a7
Merge pull request #911 from goddenrich/parse-microseconds-submodule
update submodule to include parsing microseconds
2019-08-02 13:03:54 -07:00
Richard Godden
3f8d583ee0 update submodule to include parsing microseconds 2019-08-01 22:16:00 +01:00
Oz Tiram
3b84216652 Mulitple docs fixes
*  Document how to build the doumentation with sphinx

    For convinience, I added a Makefile which spares one to memorize the
    long sphinx command, or type python setup.py build_sphinx

    You simply use `make html` and you will get the docs.

 * Render README with markdown properly

   conf.py includes some code to work around a  bug in
   common mark. The markdown is now properly converted to HTML.

 * Fix rendering of CONTRIBUTING.md
2019-07-31 18:13:57 +02:00
Kubernetes Prow Robot
41971cc6ea
Merge pull request #888 from micw523/update-nginx
Deprecate extensions/v1beta1 deployment
2019-07-30 15:15:53 -07:00
Kubernetes Prow Robot
c98d761127
Merge pull request #907 from micw523/patch-5
Add micw523 to reviewers
2019-07-30 15:07:51 -07:00
micw523
c558b127bf
Add micw523 to reviewers 2019-07-30 17:56:27 -04:00
Kubernetes Prow Robot
6c0846c85b
Merge pull request #896 from cclauss/patch-1
Travis CI: The sudo: tag is now fully deprecated in Travis
2019-07-30 11:14:07 -07:00
Kubernetes Prow Robot
5a53aea3a7
Merge pull request #848 from tomplus/fix/example-crd
add example of using custom resources
2019-07-26 13:15:59 -07:00
Tomasz Prus
6709b753b4 add example of using custom resources 2019-07-26 22:04:33 +02:00
Kubernetes Prow Robot
734e25558f
Merge pull request #897 from micw523/patch-3
Update urllib3 for CVE-2019-11324
2019-07-26 10:00:01 -07:00
micw523
f3e3170dd9
Update urllib3 for CVE-2019-11324 2019-07-25 20:06:52 -04:00
Kubernetes Prow Robot
659f463dc4
Merge pull request #894 from oz123/drop_py_3.4_from_setup
Python 3.4 is no longer supported
2019-07-25 11:46:45 -07:00
Kubernetes Prow Robot
8845beee0a
Merge pull request #846 from hajowieland/master
Enhancements for example3.py and example4.py
2019-07-25 11:40:09 -07:00
Christian Clauss
eace0bd3fe
Travis CI: The sudo: tag is now fully deprecated in Travis 2019-07-25 15:19:35 +02:00
Oz N Tiram
671bf7dc68 Python 3.4 is no longer supported
This update the setup metadata to indicate this
2019-07-25 07:38:02 +02:00
Xianglong Wang
dd72deaec2 Deprecate extensions/v1beta1 deployment 2019-07-23 21:28:04 -04: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
Kubernetes Prow Robot
1ad4afff35
Merge pull request #824 from tnqn/verbose
Fix AttributeError in create_from_yaml
2019-07-23 12:48:14 -07:00
Kubernetes Prow Robot
b8cb6e8de7
Merge pull request #795 from oz123/util-improvements
Allow creation from dict
2019-07-23 12:36:15 -07:00
Oz N Tiram
e867c294bb Merge branch 'master' into util-improvements 2019-07-23 07:38:20 +02:00
Oz N Tiram
6100392c47 Add optional namespace to create_from_dict
This follows up on the addition to create_from_yaml, the behavior is the
same.
2019-07-23 05:33:40 +02:00
Oz N Tiram
ab002f760d Remove obsolete test
The current PR no longer support creating from string
2019-07-23 05:33:40 +02:00
Kubernetes Prow Robot
693f11586d
Merge pull request #889 from micw523/docs
Update docs python version for Travis CI
2019-07-22 18:36:53 -07:00
Xianglong Wang
2eb2c8dc81 update docs python version 2019-07-22 21:14:40 -04:00
Kubernetes Prow Robot
b519de15c2
Merge pull request #873 from TomasTomecek/fix-die
kube-init.sh: die is not a command
2019-07-18 10:16:11 -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
Kubernetes Prow Robot
02358ec60f
Merge pull request #883 from scottilee/incubator
#877: Remove reference to incubator
2019-07-16 20:02:34 -07:00
Scott Lee
2af7c631bd #877: Remove reference to incubator 2019-07-16 17:48:13 -07:00
Kubernetes Prow Robot
da8c843bda
Merge pull request #807 from oz123/drop-python-34
Drop Python3.4
2019-07-08 17:28:00 -07:00
Kubernetes Prow Robot
c488354146
Merge pull request #861 from roycaihw/release-10.0.0
Prepare master branch for 10.0.0 release
2019-07-01 17:27:08 -07:00
Haowei Cai
38e35af5cc add changelog for python repo changes; update readme 2019-07-01 15:29:41 -07:00
Haowei Cai
8622ac4be4 generated client update for 10.0.0-snapshot 2019-07-01 15:20:01 -07:00
Haowei Cai
13394b0cc7 add changelog for python-base update 2019-07-01 14:55:31 -07:00
Haowei Cai
14f97fcdce update python-base submodule 2019-07-01 14:49:26 -07:00
Kubernetes Prow Robot
c4c18d930c
Merge pull request #856 from oz123/test-suite-change-k8s-version
Don't use latest stable version for minikube
2019-06-25 12:33:59 -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
Oz N Tiram
9e40421bcc create_from_yaml function deals with files only
Adding the ability to deal with strings containing yaml seems to repel
to much. So we stay with create_from_yaml with a bad name.

This removes the need fro StringIO to wrap strings.
Also note:

```
with open('foo.txt') as f:
    y = yaml.safe_load_all(f)

for i in y:
    print(i)

\# raises ValueError: I/O operation on closed file.
```

Hence, we indent the whole method body into the open block.

with open('foo.txt') as f:
    y = yaml.safe_load_all(f)
    for i in y:
        print(i)
2019-06-20 23:02:41 +02:00
Oz N Tiram
ed67d89f9b Remove un-necessary if block 2019-06-20 19:53:28 +02:00
Oz N Tiram
5c912f986f Throw exception from create_from_dict
This is instead of doing this in create_from_yaml
2019-06-20 18:37:58 +02:00
Oz N Tiram
4fa0e87bd7 Correct the documentation for create_from_dict
The function can create one or more Kuberenetes objects
based on the content of data. It can handle all API objects
incuding `List` type, which by itself can contain more than
one Kuberenetes API objects.
2019-06-20 14:30:27 +02:00
Oz N Tiram
34898387c3 Merge remote-tracking branch 'upstream/master' into util-improvements 2019-06-20 14:06:00 +02:00
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