website/content/en/examples
azarnyx 6e557559fe Update worker.py (#12403)
Fix an error reproduced with python3.6.8, python3.5.2, python2.7.12:

$ echo "Hi!"| ./worker.py

Traceback (most recent call last):
  File "./worker.py", line 6, in <module>
    print("Processing " + sys.stdin.lines())
AttributeError: '_io.TextIOWrapper' object has no attribute 'lines'
2019-01-28 11:44:01 -08:00
..
admin Fix the "my-scheduler-as-kube-scheduler" ClusterRoleBinding. (#11112) 2018-11-28 08:33:39 -08:00
application Update worker.py (#12403) 2019-01-28 11:44:01 -08:00
audit audit api version has been updated to v1 (#10647) 2018-10-17 00:48:05 -07:00
controllers Fix #11982 (#11983) 2019-01-02 13:21:36 -08:00
debug bump version of event-exporter (#10191) 2018-10-03 19:19:30 -07:00
federation Consolidate YAML files [part-15] (#9380) 2018-07-10 09:09:26 -07:00
minikube Update Dockerfile (#10441) 2018-10-03 17:28:52 -07:00
podpreset Consolidate YAML files [part-9] (#9361) 2018-07-03 11:50:19 -07:00
pods Update downward-api-volume-expose-pod-information.md (#9567) 2018-07-31 04:34:38 -07:00
policy Consolidate YAML files [part-8] (#9347) 2018-07-02 17:35:20 -07:00
service Consolidate YAML files [part-13] (#9377) 2018-07-10 08:56:25 -07:00
windows Consolidate YAML files [part-14] (#9379) 2018-07-03 23:58:20 -07:00
README.md Improve examples test (#9467) 2018-07-11 08:43:25 -07:00
examples.go Improve examples test (#9467) 2018-07-11 08:43:25 -07:00
examples_test.go Improve examples test (#9467) 2018-07-11 08:43:25 -07:00

README.md

Note: These tests are importing code from kubernetes that isn't really meant to be used outside the repo. This causes vendoring problems. As a result, we have to work around those with these lines in the travis config:

- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apiserver
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/client-go
- cp -r $GOPATH/src/k8s.io/kubernetes/vendor/* $GOPATH/src/
- rm -rf $GOPATH/src/k8s.io/kubernetes/vendor/*
- cp -r $GOPATH/src/k8s.io/kubernetes/staging/src/* $GOPATH/src/