k3s/pkg/kubelet/container
Kubernetes Submit Queue 1d3c7ca758 Merge pull request #38348 from euank/doc-our-privilege
Automatic merge from submit-queue (batch tested with PRs 38727, 38726, 38347, 38348)

Add 'privileged' to sandbox to indicate if any container might be privileged in it, document privileged

Right now, the privileged flag is this magic thing which does "whatever Docker does". This documents it to make it a little less magic.

In addition, due to how rkt uses `systemd-nspawn` as an outer layer of isolation in creating the sandbox, it's helpful to know beforehand whether the pod will be privileged so additional security options can be applied earlier / applied at all.

I suspect the same indication will be useful for userns since userns should also occur at the pod layer, but it's possible that will be a separate/additional field.


cc @lucab @jonboulle @yujuhong @feiskyer @kubernetes/sig-node 


```release-note
NONE
```
2016-12-13 17:31:53 -08:00
..
testing autoupdate BUILD files 2016-12-12 13:30:07 -08:00
BUILD autoupdate BUILD files 2016-12-12 13:30:07 -08:00
cache.go wrong word of comment in cache.go 2016-09-06 09:57:21 +08:00
cache_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
container_gc.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
container_reference_manager.go cmd/kubelet 2016-11-23 15:53:09 -08:00
helpers.go kuberuntime: set privileged for sandboxes 2016-12-08 13:11:16 -08:00
helpers_test.go kuberuntime: set privileged for sandboxes 2016-12-08 13:11:16 -08:00
os.go Add pod log garbage collection unit test. 2016-10-24 00:03:34 -07:00
pty_linux.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
pty_unsupported.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
ref.go cmd/kubelet 2016-11-23 15:53:09 -08:00
ref_test.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
resize.go Support terminal resizing for exec/attach/run 2016-07-13 17:06:16 -04:00
runtime.go [CRI] Manage attach TTY in Kubelet 2016-12-01 18:27:55 -08:00
runtime_cache.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
runtime_cache_fake.go fix go vet errors 2016-08-10 16:45:41 -07:00
runtime_cache_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
sync_result.go Kubelet: add SyncPod for new runtime API 2016-09-15 23:32:36 +08:00
sync_result_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00