Commit Graph

3429 Commits

Author SHA1 Message Date
Paul Michali
a08928a067 Support IPv6 addresses for getListener()
Currently, client-go requires that an IPv6 address string for hostname has
square brackets surrounding, so that it can be used with address:port in
an API request.

This change, removes that requirement, and has getListener() add the
square brackets for IPv6 addresses for hosts. If IPv4 or hostname, the name
will not be modified.

Decided to change here, rather than everywhere client-go is used (thinking
that there may be places where we DON'T want the square brackets applied).

This issue was found in kubelet, which, at startup, creates a listener for
services and nodes. If an IPv6 address is used, the URI was malformed.

Kubernetes-commit: e17a501bcb7a3d2c5f4ff5c41f122fe155395dcd
2017-07-16 03:58:42 +00:00
Mike Danese
c0b21e1d03 remove some people from OWNERS so they don't get reviews anymore
These are googlers who don't work on the project anymore but are still
getting reviews assigned to them:
- bprashanth
- rjnagal
- vmarmol

Kubernetes-commit: c201553f2776ac401549d561485f9a5cb4841ae8
2017-07-16 03:58:42 +00:00
Brendan Burns
757f27a376 Code updates for new SDK.
Kubernetes-commit: 29a0c6f56a0839d6abb9b5d1e339ab84cbbe2a83
2017-07-16 03:58:42 +00:00
Tim Allclair
5538125344 Name change: s/timstclair/tallclair/
Kubernetes-commit: a2f2e1d4918effb4f0994333c7b88086674e4a5b
2017-07-16 03:58:42 +00:00
Andy Goldstein
75943a8927 jsonpath filter: allow intermediate missing keys
In jsonpath, when filtering a list, if allowMissingKeys is true, skip
over any items that are missing an intermediate key in the filter,
instead of returning a confusing error.

For example, if the filter is

{.items[?(@.metadata.annotations.foo=="bar")].metadata.name}

we should return all items where metadata.annotations.foo == bar, but if
an item in the list does not have metadata, metadata.annotations, or
metadata.annotations.foo, skip it instead of erroring.

Kubernetes-commit: e6f97d514d83fc2614d1ad4e18de0b318cc81653
2017-07-16 03:58:42 +00:00
Cao Shufeng
812b4cbd4b Use glog.*f when a format string is passed
ref:
https://godoc.org/github.com/golang/glog

I use the following commands to search all the invalid usage:
$ grep "glog.Warning(" * -r | grep %
$ grep "glog.Info(" * -r | grep %
$ grep "glog.Error(" * -r | grep %
$ grep ").Info(" * -r | grep % | grep "glog.V("

Kubernetes-commit: 0c577c47d5331e61caf11469a52c2583d087cdcf
2017-07-16 03:58:42 +00:00
Clayton Coleman
3bb413eede Move SPDY specific code into its own package
Kubernetes-commit: cf026a3314fd3513a2c4239c6f4edbbbbcb96a77
2017-07-16 03:58:42 +00:00
Chao Xu
ec4003cdb5 update bazel
Kubernetes-commit: 65cedeeb433638a977ad8d1be9870c2567671f04
2017-07-16 03:58:42 +00:00
Chao Xu
9869cc1684 move leaderelection package to client-go
Kubernetes-commit: 24d5279c59f1285fa8f589599d937ebee24f7ea4
2017-07-16 03:58:42 +00:00
Clayton Coleman
4e62d7d64d Prepare to introduce websockets for exec and portforward
Refactor the code in remotecommand to better represent the structure of
what is common between portforward and exec.

Kubernetes-commit: 12c7874c0d88e9099ab2a29915d26751f0d23c2a
2017-07-16 03:58:42 +00:00
deads2k
4d6d8e1ac1 remove dead code
Kubernetes-commit: 0801ded4252684c47d8a50700f9f5ff8ff88b964
2017-07-16 03:58:41 +00:00
Dr. Stefan Schimanski
847cceef55 client-go: remove TPR example
Kubernetes-commit: b34464241d61941b4331727fdca8927b574de25b
2017-07-16 03:58:41 +00:00
Kubernetes Publisher
e21a2f60cf sync: reset Godeps.json 2017-07-16 03:58:41 +00:00
Chao Xu
a37549263b Merge pull request #245 from caesarxuchao/fix-typo
Fix a typo
2017-07-12 20:47:29 -07:00
Chao Xu
06f95366f0 fix typo 2017-07-12 20:46:12 -07:00
Daniel Smith
53c7adfd02 Merge pull request #241 from caesarxuchao/changelog-api
explaining the API migration in CHANGELOG
2017-07-11 16:59:49 -07:00
Chao Xu
886446d4a9 update CHANGELOG about the api move 2017-07-11 16:45:43 -07:00
Chao Xu
534933d530 Merge pull request #237 from caesarxuchao/v4.0-changelog
Add v4.0.0 changelog
2017-07-11 13:45:36 -07:00
Chao Xu
361294f010 add changelog for v4.0 2017-07-11 13:33:38 -07:00
Chao Xu
d03136c067 Merge pull request #233 from caesarxuchao/v3.0.0-updates
V3.0.0 updates
2017-07-11 13:04:38 -07:00
Daniel Smith
cdcf23551a Clarify compatibility table 2017-07-07 14:07:26 -07:00
Kubernetes Publisher
b1ed435281 sync: resync vendor folder 2017-07-06 23:49:42 +00:00
Kubernetes Publisher
37e5467931 sync(k8s.io/kubernetes) 756a814042801e8cba8273ba7f1e16e87b060079 2017-07-06 23:49:18 +00:00
Shiyang Wang
e7816d5d9a add more unit test
Kubernetes-commit: 87f877962468a83efe4f46ec01582d8703a4e899
2017-07-06 23:49:18 +00:00
Shiyang Wang
27f2f9370c fix JSONPath parser will not filter strings containing parentheses
Kubernetes-commit: fb4fc7d7d108a94053671160894011e84f821742
2017-07-06 23:49:18 +00:00
Chao Xu
6470a25cda update README.md 2017-07-05 17:05:59 -07:00
Chao Xu
dd636ffdd8 update CHANGELOG for v3.0.0 2017-07-05 17:05:59 -07:00
Kubernetes Publisher
6daa6a29b8 sync: resync vendor folder 2017-07-05 23:52:01 +00:00
Kubernetes Publisher
ca3828e0be sync(k8s.io/kubernetes) 2639b75d84cbfb513f90f65de1efb46c50a2fbb6 2017-07-05 23:51:41 +00:00
Dan Mace
9ffde92a64 Refactor cached discovery client
Kubernetes-commit: 2639b75d84cbfb513f90f65de1efb46c50a2fbb6
2017-07-05 23:51:41 +00:00
Kubernetes Publisher
59eef07b24 sync: resync vendor folder 2017-07-04 08:33:34 +00:00
Kubernetes Publisher
56fd842102 sync: resync vendor folder 2017-07-01 08:33:38 +00:00
Kubernetes Publisher
bd8206e3ca sync(k8s.io/kubernetes) 9c74026ffc14e314e77d923bee6d54554c0ddc4d 2017-07-01 08:33:22 +00:00
Antoine Pelisse
13c848bad2 openapi: Fetch protobuf rather than Json
This is much faster.

Kubernetes-commit: 224dba9a136e3e4014d88b3c2546418066bac026
2017-07-01 08:33:22 +00:00
Kubernetes Publisher
5e440ec3fc sync: reset Godeps.json 2017-07-01 08:33:21 +00:00
Kubernetes Publisher
9a3abb182f sync: resync vendor folder 2017-06-30 08:37:10 +00:00
Chao Xu
e36c1e5a16 Merge pull request #212 from nikhita/fix-staging-script
README: fix script to update staging area
2017-06-29 12:04:48 -07:00
Nikhita Raghunath
d4a425fcd9
Fix script to update staging area 2017-06-29 16:04:18 +05:30
Kubernetes Publisher
1a2327dce8 sync: resync vendor folder 2017-06-29 00:04:34 +00:00
Kubernetes Publisher
42a124578a sync: resync vendor folder 2017-06-28 00:07:09 +00:00
Kubernetes Publisher
164b30d85e sync(k8s.io/kubernetes) bfa9ce4308ca897711eb1b822bd5f0e31bbef31d 2017-06-28 00:06:45 +00:00
Nikhita Raghunath
5b6f5174d8 Update CR example in client-go
Remove custom-resources directory from client-go

Add TPR example back

Mention CRD is successor to TPR

Kubernetes-commit: bfa9ce4308ca897711eb1b822bd5f0e31bbef31d
2017-06-28 00:06:45 +00:00
Seth Jennings
959d3293e8 include object fieldpath in event key
Kubernetes-commit: fbcb0562ea80a311e3e41ea43705097097ebb31c
2017-06-28 00:06:45 +00:00
Chao Xu
ed0ae8c707 run update-staging-godeps.sh; the script asks user to manually commit changes for each repo
Kubernetes-commit: c2d576886bbadbf956acab33262906cd141c6650
2017-06-28 00:06:45 +00:00
Chao Xu
8fa00ce039 run hack/update-all
Kubernetes-commit: 60604f8818aecbc9c3736fbc32747cc0a535bc80
2017-06-28 00:06:44 +00:00
Chao Xu
d82cfb70dd run hack/update-staging-client-go, somehow we copied listers/<authn,authz,imagepolicy>
Kubernetes-commit: ffe74d1fe749b5887711f70af24e1375856f2520
2017-06-28 00:06:44 +00:00
Chao Xu
1e9caa8e14 run root-rewrite-import-client-go-api-types
Kubernetes-commit: f2d3220a11111f86b2f481e70e3c1ca4f5896f44
2017-06-28 00:06:44 +00:00
Nikhita Raghunath
9476066ae2 Fix typo in cross-repo link
Kubernetes-commit: 731a1ccb44f5d7f0ffb6d52550b0a735f92e85fb
2017-06-28 00:06:44 +00:00
Kubernetes Publisher
d5fd791708 sync: reset Godeps.json 2017-06-28 00:06:44 +00:00
Kubernetes Publisher
cc44961f93 sync(k8s.io/kubernetes) 797dc10a0ccd89bec0b29c41613025035ed23a0f 2017-06-22 18:11:06 +00:00