k3s/pkg
Kubernetes Submit Queue 343d751bc5 Merge pull request #47729 from paultyng/pt/useragent
Automatic merge from submit-queue (batch tested with PRs 47286, 47729)

Set default User-Agent on http probe

**Set a default User-Agent on `httpGet` probes**:

Currently the default Go HTTP client sets a `User-Agent` specific to the language and version, but every Go client has the same one.  In Kubernetes, users can override the User-Agent by setting a header in their probe definition, but its tedious to do this everywhere.

This PR changes the default User-Agent only if not set (or removed) in the probe definition.

**Which issue this PR fixes** 
fixes #29025

**Special notes for your reviewer**:

**Release note**:

```release-note
Change default `httpGet` probe `User-Agent` to `kube-probe/<version major.minor>` if none specified, overriding the default Go `User-Agent`.
```
2017-06-28 23:14:31 -07:00
..
api Autogenerated files 2017-06-26 15:02:49 -07:00
apimachinery/tests Fix Unstructured field accessor 2017-06-28 13:44:29 -04:00
apis run hack/update-all 2017-06-22 11:31:03 -07:00
auth Only do string trim when it's necessary 2017-06-15 17:32:31 +08:00
bootstrap/api run hack/update-all 2017-06-22 11:31:03 -07:00
capabilities
client run hack/update-all 2017-06-22 11:31:03 -07:00
cloudprovider Merge pull request #47286 from cosmincojocar/client_cert_azure_cloud_provider 2017-06-28 23:14:29 -07:00
controller Merge pull request #47014 from boingram/deletePod-handler-shouldnt-set-owner-refs 2017-06-28 14:45:29 -07:00
conversion
credentialprovider run hack/update-all 2017-06-22 11:31:03 -07:00
features Add priority to Kubernetes API 2017-06-26 13:43:19 -07:00
fieldpath run hack/update-all 2017-06-22 11:31:03 -07:00
fields
generated run hack/update-all 2017-06-22 11:31:03 -07:00
hyperkube
kubeapiserver Merge pull request #47038 from yastij/DefaultExternalHost-for-registredCP 2017-06-27 08:29:25 -07:00
kubectl Merge pull request #45611 from atombender/issue-45608 2017-06-28 12:55:21 -07:00
kubelet Implement GetCapacity in container_manager_unsupported 2017-06-29 10:22:57 +08:00
kubemark Merge pull request #47783 from NickrenREN/containerruntime 2017-06-23 08:29:28 -07:00
labels
master run hack/update-all 2017-06-22 11:31:03 -07:00
metrics
printers Move DaemonSet to table printer 2017-06-26 20:58:02 -04:00
probe Set default User-Agent on http probe 2017-06-21 10:50:33 -04:00
proxy Move iptables logging in kubeproxy from Errorf to V(2).Infof 2017-06-26 19:59:23 +02:00
quota run hack/update-all 2017-06-22 11:31:03 -07:00
registry run hack/update-all 2017-06-22 11:31:03 -07:00
routes
runtime
security run hack/update-all 2017-06-22 11:31:03 -07:00
securitycontext run hack/update-all 2017-06-22 11:31:03 -07:00
serviceaccount run hack/update-all 2017-06-22 11:31:03 -07:00
ssh
types
util Fix the names of some iptables tests 2017-06-27 09:26:10 -04:00
version Convert go_binary linkstamp to x_defs 2017-06-08 14:59:55 -07:00
volume Merge pull request #47647 from humblec/glusterfs-unused-var 2017-06-26 11:41:01 -07:00
watch
BUILD run hack/update-all 2017-06-22 11:31:03 -07:00
OWNERS