Merge pull request #11669 from pweil-/sc-nonroot

add non-root directive to SC and kubelet checking
This commit is contained in:
Filip Grzadkowski
2015-08-11 10:30:53 +02:00
11 changed files with 356 additions and 0 deletions

View File

@@ -856,6 +856,8 @@ func (r *runtime) SyncPod(pod *api.Pod, runningPod kubecontainer.Pod, podStatus
continue
}
// TODO: check for non-root image directives. See ../docker/manager.go#SyncPod
// TODO(yifan): Take care of host network change.
containerChanged := c.Hash != 0 && c.Hash != expectedHash
if containerChanged {