cri-o/server
Antonio Murdaca c316e5d8cf
oci: respect process spec on exec
This patch fixes exec to use the original (start-time) process exec
configuration. Otherwise, we were creating a brand new spec process w/o
additional groups for instance.
Spotted while integrating CRI-O with cri-test...The test was failing
with:
```
• Failure [10.640 seconds]
[k8s.io] Security Context
/home/amurdaca/go/src/github.com/kubernetes-incubator/cri-tools/pkg/framework/framework.go:72
  bucket
  /home/amurdaca/go/src/github.com/kubernetes-incubator/cri-tools/pkg/validate/security_context.go:407
    runtime should support SupplementalGroups [It]
    /home/amurdaca/go/src/github.com/kubernetes-incubator/cri-tools/pkg/validate/security_context.go:272

    Expected
        <[]string | len:1, cap:1>: ["0"]
    to contain element matching
        <string>: 1234
```

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-10-24 22:39:17 +02:00
..
apparmor Rename ocid to crio. 2017-05-12 09:56:06 -04:00
seccomp container_create: fix seccomp annotations 2017-09-25 21:08:11 +02:00
config.go Revert "Move crio default sock to /var/run/crio/crio.sock" 2017-10-19 10:13:49 -07:00
container_attach.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_create.go oci: respect process spec on exec 2017-10-24 22:39:17 +02:00
container_exec.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_execsync.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_list.go Initial fixes for cri-tests 2017-10-13 08:36:14 -05:00
container_portforward.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_remove.go oci: fixes to properly handle container stop action 2017-10-17 00:21:17 +02:00
container_start.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_stats.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_stats_list.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
container_status.go oci: wait a while for exit file to show up 2017-08-29 11:25:51 +02:00
container_stop.go oci: fixes to properly handle container stop action 2017-10-17 00:21:17 +02:00
container_updateruntimeconfig.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
image_fs_info.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
image_list.go server: image_list: report image size 2017-08-31 17:50:25 +02:00
image_pull.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
image_remove.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
image_status.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
inspect.go Add crio annotations to container endpoint 2017-09-25 11:59:40 -07:00
inspect_test.go test: Modify Fatal to Fatalf as we have a specifier 2017-10-11 14:51:11 -07:00
naming.go server: Rename infra container to POD 2017-09-01 08:47:55 -07:00
runtime_status.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
sandbox_list.go server/sandbox_list.go: No error on filtered list find by ID 2017-10-16 16:36:15 -05:00
sandbox_network.go sandbox_network: pass sandbox to newPodNetwork 2017-09-25 21:08:11 +02:00
sandbox_remove.go oci: fixes to properly handle container stop action 2017-10-17 00:21:17 +02:00
sandbox_run.go oci: respect process spec on exec 2017-10-24 22:39:17 +02:00
sandbox_status.go *: store sandbox IP 2017-09-02 02:05:12 +02:00
sandbox_stop.go oci: fixes to properly handle container stop action 2017-10-17 00:21:17 +02:00
secrets.go Fixed logic flaw in the secrets mounts 2017-10-17 13:08:42 -04:00
server.go version: fix version handling and kube info 2017-10-17 10:44:50 +02:00
utils.go sandbox_network: pass sandbox to newPodNetwork 2017-09-25 21:08:11 +02:00
version.go version: fix version handling and kube info 2017-10-17 10:44:50 +02:00