cri-o/libkpod
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
..
sandbox server: correctly set hostname 2017-09-17 10:19:31 +02:00
testdata test: Add libkpod config tests 2017-09-19 09:32:57 -04:00
config.go Follow up changes on secrets patch 2017-10-12 15:10:07 -04:00
config_test.go test: Add libkpod config tests 2017-09-19 09:32:57 -04:00
container.go Move to new github.com/sirupsen/logrus. 2017-08-07 11:50:04 -04:00
container_data.go BUGFIX: Invalid return codes in kpod 2017-10-04 09:34:28 -05:00
container_server.go oci: respect process spec on exec 2017-10-24 22:39:17 +02:00
hooks.go Add support for oci-hooks to libkpod 2017-09-05 07:39:31 -04:00
kill.go Add support for kpod kill 2017-09-28 09:34:21 -05:00
logs.go *: fix lint issues 2017-08-22 17:32:18 +02:00
pause.go Add kpod pause and kpod unpause 2017-09-26 08:38:07 -04:00
remove.go oci: fixes to properly handle container stop action 2017-10-17 00:21:17 +02:00
rename.go *: update kube vendor to v1.7.4 2017-08-22 17:32:14 +02:00
stats.go add kpod stats function 2017-08-17 11:34:10 -04:00
stop.go oci: fixes to properly handle container stop action 2017-10-17 00:21:17 +02:00
wait.go Add kpod wait 2017-09-27 09:03:33 -05:00