Rename ocid to crio.
The ocid project was renamed to CRI-O, months ago, it is time that we moved all of the code to the new name. We want to elminate the name ocid from use. Move fully to crio. Also cric is being renamed to crioctl for the time being. Signed-off-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
81cfba283a
commit
4493b6f176
52 changed files with 677 additions and 677 deletions
8
test/testdata/README.md
vendored
8
test/testdata/README.md
vendored
|
@ -1,15 +1,15 @@
|
|||
In terminal 1:
|
||||
```
|
||||
sudo ./ocid
|
||||
sudo ./crio
|
||||
```
|
||||
|
||||
In terminal 2:
|
||||
```
|
||||
sudo ./ocic runtimeversion
|
||||
sudo ./crioctl runtimeversion
|
||||
|
||||
sudo rm -rf /var/lib/containers/storage/sandboxes/podsandbox1
|
||||
sudo ./ocic pod run --config testdata/sandbox_config.json
|
||||
sudo ./crioctl pod run --config testdata/sandbox_config.json
|
||||
|
||||
sudo rm -rf /var/lib/containers/storage/containers/container1
|
||||
sudo ./ocic container create --pod podsandbox1 --config testdata/container_config.json
|
||||
sudo ./crioctl container create --pod podsandbox1 --config testdata/container_config.json
|
||||
```
|
||||
|
|
2
test/testdata/container_config.json
vendored
2
test/testdata/container_config.json
vendored
|
@ -35,7 +35,7 @@
|
|||
},
|
||||
"annotations": {
|
||||
"owner": "dragon",
|
||||
"daemon": "ocid"
|
||||
"daemon": "crio"
|
||||
},
|
||||
"privileged": true,
|
||||
"readonly_rootfs": true,
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
},
|
||||
"annotations": {
|
||||
"owner": "dragon",
|
||||
"daemon": "ocid"
|
||||
"daemon": "crio"
|
||||
},
|
||||
"privileged": true,
|
||||
"readonly_rootfs": true,
|
||||
|
|
2
test/testdata/container_config_logging.json
vendored
2
test/testdata/container_config_logging.json
vendored
|
@ -37,7 +37,7 @@
|
|||
},
|
||||
"annotations": {
|
||||
"owner": "dragon",
|
||||
"daemon": "ocid"
|
||||
"daemon": "crio"
|
||||
},
|
||||
"privileged": true,
|
||||
"readonly_rootfs": true,
|
||||
|
|
2
test/testdata/container_config_seccomp.json
vendored
2
test/testdata/container_config_seccomp.json
vendored
|
@ -37,7 +37,7 @@
|
|||
},
|
||||
"annotations": {
|
||||
"owner": "dragon",
|
||||
"daemon": "ocid"
|
||||
"daemon": "crio"
|
||||
},
|
||||
"privileged": true,
|
||||
"readonly_rootfs": true,
|
||||
|
|
2
test/testdata/fake_ocid_default
vendored
2
test/testdata/fake_ocid_default
vendored
|
@ -1 +1 @@
|
|||
profile ocid-default flags=(attach_disconnected) {}
|
||||
profile crio-default flags=(attach_disconnected) {}
|
||||
|
|
8
test/testdata/sandbox_config.json
vendored
8
test/testdata/sandbox_config.json
vendored
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"metadata": {
|
||||
"name": "podsandbox1",
|
||||
"uid": "redhat-test-ocid",
|
||||
"namespace": "redhat.test.ocid",
|
||||
"uid": "redhat-test-crio",
|
||||
"namespace": "redhat.test.crio",
|
||||
"attempt": 1
|
||||
},
|
||||
"hostname": "ocic_host",
|
||||
"hostname": "crioctl_host",
|
||||
"log_directory": "",
|
||||
"dns_options": {
|
||||
"servers": [
|
||||
|
@ -52,7 +52,7 @@
|
|||
"security.alpha.kubernetes.io/seccomp/pod": "unconfined"
|
||||
},
|
||||
"linux": {
|
||||
"cgroup_parent": "/ocid-podsandbox1",
|
||||
"cgroup_parent": "/crio-podsandbox1",
|
||||
"security_context": {
|
||||
"namespace_options": {
|
||||
"host_network": false,
|
||||
|
|
8
test/testdata/sandbox_config_hostnet.json
vendored
8
test/testdata/sandbox_config_hostnet.json
vendored
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"metadata": {
|
||||
"name": "podsandbox1",
|
||||
"uid": "redhat-test-ocid",
|
||||
"namespace": "redhat.test.ocid",
|
||||
"uid": "redhat-test-crio",
|
||||
"namespace": "redhat.test.crio",
|
||||
"attempt": 1
|
||||
},
|
||||
"hostname": "ocic_host",
|
||||
"hostname": "crioctl_host",
|
||||
"log_directory": "",
|
||||
"dns_options": {
|
||||
"servers": [
|
||||
|
@ -51,7 +51,7 @@
|
|||
"security.alpha.kubernetes.io/seccomp/pod": "unconfined"
|
||||
},
|
||||
"linux": {
|
||||
"cgroup_parent": "/ocid-podsandbox1",
|
||||
"cgroup_parent": "/crio-podsandbox1",
|
||||
"security_context": {
|
||||
"namespace_options": {
|
||||
"host_network": true,
|
||||
|
|
6
test/testdata/sandbox_config_seccomp.json
vendored
6
test/testdata/sandbox_config_seccomp.json
vendored
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"metadata": {
|
||||
"name": "podsandbox1",
|
||||
"uid": "redhat-test-ocid",
|
||||
"namespace": "redhat.test.ocid",
|
||||
"uid": "redhat-test-crio",
|
||||
"namespace": "redhat.test.crio",
|
||||
"attempt": 1
|
||||
},
|
||||
"hostname": "ocic_host",
|
||||
"hostname": "crioctl_host",
|
||||
"log_directory": "",
|
||||
"dns_options": {
|
||||
"servers": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue