Files
kubernetes/pkg/util
k8s-merge-robot 7c4c19f623 Merge pull request #26936 from yifan-gu/fix_selinux
Automatic merge from submit-queue

rkt: Fix incomplete selinux context string when the option is partial.

Fix "EmptyDir" e2e tests failures caused by #https://github.com/kubernetes/kubernetes/pull/24901

As mentioned in https://github.com/kubernetes/kubernetes/pull/24901#discussion_r61372312
We should apply the selinux context of the rkt data directory (/var/lib/rkt) when users do not specify all the selinux options.

Due to my fault, the change was missed during rebase, thus caused the regression.

After applying this PR, the e2e tests passed.
```
$ go run hack/e2e.go -v -test --test_args="--ginkgo.dryRun=false --ginkgo.focus=EmptyDir"
...
Ran 19 of 313 Specs in 199.319 seconds
SUCCESS! -- 19 Passed | 0 Failed | 0 Pending | 294 Skipped PASS
```

BTW, the test is removed because the `--no-overlay=true` flag will only be there on non-coreos distro.

cc @euank @kubernetes/sig-node
2016-06-09 19:14:08 -07:00
..
2016-05-16 21:55:13 -07:00
2015-10-22 16:40:59 -04:00
2015-10-22 16:40:59 -04:00
2016-03-21 14:50:57 +08:00
2016-03-21 20:20:05 +08:00
2016-03-21 20:20:05 +08:00
2016-03-11 13:52:45 +08:00
2016-03-03 15:56:09 -08:00
2016-02-10 11:38:50 -08:00
2016-01-06 22:28:58 +08:00
2016-06-06 17:18:22 -04:00
2016-05-22 22:18:58 -07:00
2016-04-11 16:23:28 -04:00
2015-08-05 17:52:56 -07:00
2016-05-16 15:58:12 -04:00
2016-05-11 09:06:53 -04:00
2016-06-06 17:18:22 -04:00
2015-11-13 15:56:27 -08:00
2016-03-21 23:59:58 -04:00
2016-06-02 07:44:17 -04:00
2016-05-06 13:10:47 +02:00
2016-04-07 15:10:50 -04:00
2016-04-07 15:10:50 -04:00
2015-08-06 11:39:29 +02:00
2015-08-06 11:39:29 +02:00
2016-03-21 20:21:39 +08:00
2016-04-29 17:12:10 -04:00
2016-01-27 15:39:23 +01:00