k3s/plugin
Kubernetes Submit Queue 97212f5b3a Merge pull request #37953 from liggitt/automount
Automatic merge from submit-queue (batch tested with PRs 37137, 41506, 41239, 41511, 37953)

Add field to control service account token automounting

Fixes https://github.com/kubernetes/kubernetes/issues/16779

* adds an `automountServiceAccountToken *bool` field to `ServiceAccount` and `PodSpec`
* if set in both the service account and pod, the pod wins
* if unset in both the service account and pod, we automount for backwards compatibility

```release-note
An `automountServiceAccountToken *bool` field was added to ServiceAccount and PodSpec objects. If set to `false` on a pod spec, no service account token is automounted in the pod. If set to `false` on a service account, no service account token is automounted for that service account unless explicitly overridden in the pod spec.
```
2017-02-15 20:05:13 -08:00
..
cmd/kube-scheduler copy pkg/util/logs to apiserver 2017-02-13 12:07:15 -05:00
pkg Merge pull request #37953 from liggitt/automount 2017-02-15 20:05:13 -08:00
BUILD mechanical results of client auth plugin 2017-01-20 08:05:18 -05:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00