Commit Graph

1783 Commits

Author SHA1 Message Date
Clayton Coleman
487e5cd061 Make GetPrinter take the necessary conversion arguments
This fully encapsulates decisions about conversion within GetPrinter,
which prevents users from accidentally not converting.
2014-11-18 21:14:39 -05:00
Clayton Coleman
811f77894c Not having Kind set in Decode(1) is an error 2014-11-18 20:22:05 -05:00
Clayton Coleman
9eb4ca43d8 Move FakeRESTClient to client/fake.go 2014-11-18 20:22:05 -05:00
Brendan Burns
cea52d7e4f Merge pull request #2409 from mattmoor/master
Implements a credentialprovider library for use by DockerPuller.
2014-11-17 21:53:25 -08:00
Matt Moore
0c5d9ed0d2 Implements a credentialprovider library for use by DockerPuller.
This change refactors the way Kubelet's DockerPuller handles the docker config credentials to utilize a new credentialprovider library.

The credentialprovider library is based on several of the files from the Kubelet's dockertools directory, but supports a new pluggable model for retrieving a .dockercfg-compatible JSON blob with credentials.

With this change, the Kubelet will lazily ask for the docker config from a set of DockerConfigProvider extensions each time it needs a credential.

This change provides common implementations of DockerConfigProvider for:
 - "Default": load .dockercfg from disk
 - "Caching": wraps another provider in a cache that expires after a pre-specified lifetime.

GCP-only:
 - "google-dockercfg": reads a .dockercfg from a GCE instance's metadata
 - "google-dockercfg-url": reads a .dockercfg from a URL specified in a GCE instance's metadata.
 - "google-container-registry": reads an access token from GCE metadata into a password field.
2014-11-17 21:46:54 -08:00
Deyuan Deng
a07661dcea Add pod restart policy validation for replication controller. 2014-11-17 23:08:23 -05:00
Daniel Smith
c91306c5bd Merge pull request #2429 from erictune/fix_birthcry
Fix namespace of minion birthcry event.
2014-11-17 17:20:25 -08:00
Eric Tune
0ca192889f Fix namespace of minion birthcry event. 2014-11-17 15:34:07 -08:00
Brendan Burns
4ab79ce40f Add the 0.5-dev tag. 2014-11-17 15:01:57 -08:00
Brendan Burns
e2e1c87ae0 Add the 0.5 release. 2014-11-17 15:01:09 -08:00
Brendan Burns
f385f4415d Merge pull request #2397 from ddysher/node-label
Support node label update
2014-11-17 14:57:55 -08:00
Daniel Smith
eeb4547bec Merge pull request #2392 from dchen1107/upstream1
Generate container related events from kublet
2014-11-17 11:28:52 -08:00
Dawn Chen
736c4ffb0b more events from kublet 2014-11-17 11:00:46 -08:00
Deyuan Deng
c20ceea170 Add more validation for updating node. 2014-11-17 13:42:31 -05:00
Deyuan Deng
cc310e0e71 Support node label update. 2014-11-17 13:42:31 -05:00
Brendan Burns
88fa703b8e Merge pull request #2417 from thockin/ipalloc
Cleanups of ipv6 changes.
2014-11-17 09:54:16 -08:00
Brendan Burns
f05c4a69e8 Merge pull request #2326 from marianitadn/read-json-directories-as-object-streams
Add directory as option for createall command
2014-11-17 09:50:57 -08:00
Brendan Burns
271ed1c21e Merge pull request #2394 from ddysher/random-fix
Exclude service itself when checking conflict.
2014-11-17 09:47:58 -08:00
Tim Hockin
9c218f0a19 Cleanups of ipv6 changes.
I was late re-reviewing and some comments did not get resolved.
2014-11-17 09:33:14 -08:00
Deyuan Deng
241f3d702b Exclude service itself when checking conflict. 2014-11-15 10:40:40 -05:00
Tim Hockin
e987f11838 Merge pull request #2319 from brendandburns/external
Externalized services v2
2014-11-14 21:01:19 -08:00
Daniel Smith
29b73cc4b5 Merge pull request #2389 from satnam6502/kubectl
Make the output of kubectl.sh narrower
2014-11-14 17:33:20 -08:00
Dawn Chen
eb14ba9396 Merge pull request #2390 from ddysher/random-fix
Use Service.Name for validation error.
2014-11-14 17:27:47 -08:00
Dawn Chen
8a508bcce3 Merge pull request #2391 from lavalamp/fix3
Remove confusing function; add TODO and explanation for (nonfatal) error...
2014-11-14 17:24:18 -08:00
Brendan Burns
4a8a2b5a9f Address comments. 2014-11-14 17:23:13 -08:00
Satnam Singh
fa0cb9a25e Make the output kubectl.sh narrower 2014-11-14 17:20:01 -08:00
Daniel Smith
c412540cf2 Remove confusing function; add TODO and explanation for (nonfatal) error message in integration test. 2014-11-14 17:16:05 -08:00
Deyuan Deng
29a56c4f18 Use Service.Name for validation error. 2014-11-14 19:36:34 -05:00
Dawn Chen
ce145545b9 Add unittests to test PullPolicy. 2014-11-14 16:09:53 -08:00
Dawn Chen
f729d748ac If the image with :latest tag specified in Spec, kubelet should try
to pull the latest one even the policy is PullIfNotPresent.
2014-11-14 16:09:53 -08:00
bgrant0607
cb8ca2d341 Merge pull request #2384 from lavalamp/fix3
Add events to kubectl describe
2014-11-14 13:29:40 -08:00
Daniel Smith
9430bb38b8 Merge pull request #2282 from bgrant0607/docgen
Automatic API generation via go-restful
2014-11-14 13:12:25 -08:00
Daniel Smith
6a5da9ee19 Add events to kubectl describe 2014-11-14 11:56:59 -08:00
Brendan Burns
2aa52d043b Add external services v2 support. 2014-11-14 11:32:54 -08:00
Dawn Chen
aa711af39e Merge pull request #2355 from brendandburns/kubelet
Add support for the a clusters cloud interface to cloud provider.
2014-11-14 11:14:17 -08:00
Clayton Coleman
c95b8694d6 Merge pull request #2340 from erictune/refactor_kube_auth
Refactor kube auth
2014-11-14 14:10:53 -05:00
Brendan Burns
d3e48c9525 Add the container API to our dependencies.
Update google-api-go-client
2014-11-14 10:38:22 -08:00
Brendan Burns
aabf1c3573 Add a clusters interface and GCE implementation. 2014-11-14 10:38:03 -08:00
Eric Tune
0727219c83 New package defines .kubernetes_auth format.
Refactored common code to that package.
Subsequent PRs will load and emit these files.
2014-11-14 10:36:25 -08:00
Brendan Burns
c2485a4056 Merge pull request #2147 from justinsb/ipv6
Initial ipv6 / iptables work
2014-11-14 10:34:37 -08:00
Brendan Burns
c25ef89b24 Merge pull request #2367 from lavalamp/fix3
Yet more non-controversial fixes from #2277
2014-11-14 10:25:04 -08:00
Daniel Smith
7df0f6d3bd Merge pull request #2343 from erictune/tokens_need_private_comms
Use https when Insecure is selected.
2014-11-14 09:51:59 -08:00
Daniel Smith
de75e5a9bb Fix server-side namespace handling for events; add validation 2014-11-14 09:43:28 -08:00
Daniel Smith
3cf022786e fix up event client for namespaces 2014-11-14 09:43:28 -08:00
Brian Grant
7583e1a643 Automatic API generation by adopting go-restful 2014-11-14 16:49:19 +00:00
Dawn Chen
f47f1da3d6 Merge pull request #2345 from yugui/lint/api
Fixes golint errors in pkg/api.
2014-11-13 23:21:42 -08:00
Eric Tune
5c24855349 Rename Secure -> TLS; we may use TLS insecurely. 2014-11-13 21:42:36 -08:00
Daniel Smith
d153b98544 Simplify kubectl describe code 2014-11-13 20:25:50 -08:00
Yuki Yugui Sonoda
864bfb65da Fixes golint errors in pkg/api. 2014-11-14 13:14:23 +09:00
Eric Tune
dd3c85be09 Use https when Insecure is selected. 2014-11-13 17:25:31 -08:00