Philipp Kern
fbbc49df30
pkg/client/doc.go: update example to make it compile
...
The client example does not compile (double pointer to config, missing
import, List() returning two values); fix it.
2015-07-20 23:27:08 +02:00
Rohit Jnagal
ebc11e11ad
Merge pull request #9782 from andronat/9578_TestCreateCleanWithPrefix
...
TestCreateCleanWithPrefix was failing if env variables existed
2015-07-10 10:04:20 -07:00
MarkDv
ab40fca77c
align example with code implementation
2015-07-07 02:05:15 -07:00
Yu-Ju Hong
ad88cf9a99
Merge pull request #10557 from smarterclayton/override_auth
...
The bearer token client transport should not override Authorization
2015-07-06 15:04:45 -07:00
Zach Loafman
5dbe90f0ba
Merge pull request #10493 from krousey/namespace
...
Unify command line namespace resolution
2015-07-01 19:33:44 -07:00
nikhiljindal
274792d7bb
Stop exposing v1beta3 by default
2015-07-01 14:38:02 -07:00
Clayton Coleman
4e7526fc18
The bearer token client transport should not override Authorization
...
If an authorization header is already set via the client or request,
the bearer transport for the client should not override the
Authorization header.
Allows one client to be used for multiple users when acting as a
proxy or gateway.
2015-07-01 16:14:25 -04:00
Kris Rousey
ffa764d60b
Unify command line namespace resolution
...
This change allows the namespace in kubeconfig to be overridden by
specifying the namespace in the spec file. If namespace is explicitly
provided in the command line flags and the spec file has a different
namespace, this will cause an error.
2015-07-01 12:59:17 -07:00
CJ Cullen
0e2be0d320
Fix record tests
2015-06-30 17:08:27 -07:00
Zach Loafman
9a5891dc89
Merge pull request #10391 from wojtek-t/longer_metrics
...
Increase the length of sliding window for latency metrics
2015-06-30 16:04:53 -07:00
Zach Loafman
686f5a3084
Merge pull request #10556 from smarterclayton/remove_hardcoded_version
...
Do not hardcode version
2015-06-30 13:53:35 -07:00
Clayton Coleman
873fa1067e
Do not hardcode version
...
The version is inferred automatically by client.New in
SetKubernetesDefaults(), and also negotiated.
2015-06-30 10:30:58 -04:00
Anastasis Andronidis
530369cc01
TestCreateCleanWithPrefix was failing if env variables existed
2015-06-29 23:14:36 +02:00
Alex Robinson
10a0dc9aae
Merge pull request #9928 from jlowdermilk/version-negotiate-tests
...
Unittest for #9762
2015-06-29 13:34:13 -07:00
Robert Bailey
0048eae8eb
Merge pull request #9965 from stevekuznetsov/skuznets/allow-https
...
Allowing for HTTPS Probes
2015-06-26 10:43:37 -07:00
Wojciech Tyczynski
4c4d59a236
Increase the length of sliding window for latency metrics
2015-06-26 13:08:21 +02:00
Steve Kuznetsov
3008ff6150
Changed HTTPGetAction to allow user-defined schemes
2015-06-25 16:59:12 -04:00
Maxwell Forbes
5e748c1d47
Merge pull request #10070 from lavalamp/e2eProxyFix
...
proxy e2e test improvements
2015-06-25 13:15:03 -07:00
Mike Danese
5760fe1957
use ca.crt as client certificate authority for inClusterConfig
2015-06-24 15:10:20 -07:00
Daniel Smith
bee68e48cd
Have client store status code in Result
2015-06-23 18:48:01 -07:00
Jeff Lowdermilk
5e25827919
Merge pull request #10204 from caesarxuchao/pr/9754/head
...
Continue on #9754 , Improvements to the guestbook README, switch to .yaml files
2015-06-23 09:44:06 -07:00
Chao Xu
59b654c996
fix tests for 22f1b07858
2015-06-22 17:10:09 -07:00
Mike Danese
0da17683f0
log a message when we fall back to service account
2015-06-19 17:52:38 -07:00
Satnam Singh
29ffee51a8
Merge pull request #10102 from mikedanese/kubeconfig-bug-fix
...
make clientcmd use inClusterConfig only if no other configs are available
2015-06-19 16:45:33 -07:00
Satnam Singh
b964f3c911
Merge pull request #9739 from bprashanth/sno
...
Fix kubectl stop rc with sequence numbers
2015-06-19 15:30:26 -07:00
Prashanth Balasubramanian
9ed9bd1c4f
Add a generation number to the object meta of all objects, and status of rcs
2015-06-19 14:32:08 -07:00
Mike Danese
c93a7d644c
make clientcmd use inClusterConfig only if no other configs are available
2015-06-19 12:41:10 -07:00
Satnam Singh
078e85cfdb
Merge pull request #10076 from caesarxuchao/pr/9966/head
...
based on #9966 : fix annoying 'please check...' messages; remove v1beta1&2 ref
2015-06-19 11:56:47 -07:00
Chao Xu
5673f73378
fix the left pre V1 field names in 290c4618c331f4f30a278af520121ff35
2015-06-18 18:44:55 -07:00
Satnam Singh
1d44d06190
Merge pull request #10032 from deads2k/client-debugging
...
add debugging transport for client
2015-06-18 14:24:03 -07:00
Mike Danese
3de11e2fa8
reenable patch serverside using strategic-merge-patch
2015-06-18 12:06:46 -07:00
deads2k
bab0a61ef1
add debugging transport for client
2015-06-18 14:51:00 -04:00
Chao Xu
1be9789795
remove references to v1beta1/2 in listwatch_test.go
2015-06-17 17:23:33 -07:00
Jeff Lowdermilk
57a6355807
Unittest for #9762
...
Started looking at refactoring of the kubectl Factory, which
caused me to experience all 5 stages of grief. There are some options
for improving, but it probably warrants a proposal with some discussion/
feedback. In the meantime this tests `NegotiateVersion` in isolation.
2015-06-16 20:04:51 -07:00
Daniel Smith
f990899290
fix annoying 'please check...' messages; remove v1beta1&2 ref
2015-06-16 16:21:54 -07:00
Brendan Burns
1dd18673ec
Merge pull request #9762 from jlowdermilk/negotiate-api-version
...
kubectl negotiates api version to use based on client,server supported versions
2015-06-16 11:18:08 -07:00
Jeff Lowdermilk
f31191224b
kubectl negotiates apiversion to use based on client,server supported
2015-06-16 10:12:39 -07:00
nikhiljindal
3d63c71cbc
Removing legacyBehavior param from pkg/client
2015-06-15 16:49:11 -07:00
Clayton Coleman
bdbf477207
REST Client metrics capture grows unbounded
...
The URLs were unique by namespace and query parameter value, which means
an infinite number of metrics counters could be created.
2015-06-15 11:03:20 -04:00
krousey
934a5382ec
Merge pull request #9496 from caesarxuchao/event_test-v1
...
update fieldPath in event_test.go to v1
2015-06-09 13:41:36 -07:00
krousey
3e7bcd1ecc
Merge pull request #9182 from jdef/abspath_drops_config_prefix
...
ServerAPIVersions incorrectly squashes config.Prefix
2015-06-09 13:00:58 -07:00
Chao Xu
030099a5bd
update fieldPath in event_test.go to v1
2015-06-09 10:45:55 -07:00
James DeFelice
b5583db1d2
add UnversionedPath() to fix ServerAPIVersions()
2015-06-09 17:30:48 +00:00
krousey
5aa0219ada
Merge pull request #9292 from cjcullen/test_pull_8946
...
Add an ssh tunnel option to the /proxy endpoint
2015-06-08 14:30:12 -07:00
krousey
49a6b629f8
Merge pull request #9171 from jdef/parse_prefix_from_server
...
parse apiserver prefix from client config host spec
2015-06-08 10:17:41 -07:00
CJ Cullen
cb317604ab
Some refactoring. Only selectively use ssh proxy.
...
Add NetworkName to gce.Config.
Add locking to uses of master.tunnels.
2015-06-05 14:55:16 -07:00
CJ Cullen
1ae8801387
Fix transport creation logic.
...
Refactor loadTunnels to allow one path for load, another for refresh.
Make SSHTunnelList.Close sleep for a minute before actually closing each tunnel.
2015-06-05 14:55:16 -07:00
Brendan Burns
7ea533d871
Add the SSHTunnel transport to the kubelet client.
2015-06-05 14:55:15 -07:00
Quinton Hoole
8b01ecb53a
Merge pull request #9024 from markturansky/recyc_controllers
...
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
James DeFelice
4b8995f009
parse apiserver prefix from client config host spec, with unit test
2015-06-04 20:20:19 +00:00