Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Limit usage of CompatOCISpec #2023

Closed
WeiZhang555 opened this issue Sep 3, 2019 · 0 comments · Fixed by #2022 or #2028
Closed

Limit usage of CompatOCISpec #2023

WeiZhang555 opened this issue Sep 3, 2019 · 0 comments · Fixed by #2022 or #2028
Labels
enhancement Improvement to an existing feature needs-review Needs to be assessed by the team.

Comments

@WeiZhang555
Copy link
Member

CompatOCISpec is used to gurantee backward compatbility for old runtime
specs, after we convert CompatOCISpec to standard specs.Spec, we should
use specs.Spec instead of CompatOCISpec, and CompatOCISpec should be
useless from then.

Spread usage of CompatOCISpec can make code structure confusing and making
the runtime spec usage non-standard. Besides, this can be the very first
step of removing CompatOCISpec from config's Annotations field.

@WeiZhang555 WeiZhang555 added enhancement Improvement to an existing feature needs-review Needs to be assessed by the team. labels Sep 3, 2019
WeiZhang555 pushed a commit to WeiZhang555/runtime that referenced this issue Sep 3, 2019
Fixes: kata-containers#2023

CompatOCISpec is used to gurantee backward compatbility for old runtime
specs, after we convert CompatOCISpec to standard specs.Spec, we should
use specs.Spec instead of CompatOCISpec, and CompatOCISpec should be
useless from then.

Spread usage of CompatOCISpec can make code structure confusing and making
the runtime spec usage non-standard. Besides, this can be the very first
step of removing CompatOCISpec from config's Annotations field.

Signed-off-by: Wei Zhang <fangcun.zw@alibaba-inc.com>
WeiZhang555 pushed a commit to WeiZhang555/runtime that referenced this issue Sep 3, 2019
Fixes: kata-containers#2023

CompatOCISpec is used to gurantee backward compatbility for old runtime
specs, after we convert CompatOCISpec to standard specs.Spec, we should
use specs.Spec instead of CompatOCISpec, and CompatOCISpec should be
useless from then.

Spread usage of CompatOCISpec can make code structure confusing and making
the runtime spec usage non-standard. Besides, this can be the very first
step of removing CompatOCISpec from config's Annotations field.

Signed-off-by: Wei Zhang <fangcun.zw@alibaba-inc.com>
WeiZhang555 added a commit to WeiZhang555/runtime that referenced this issue Sep 4, 2019
Fixes: kata-containers#2023

CompatOCISpec is used to gurantee backward compatbility for old runtime
specs, after we convert CompatOCISpec to standard specs.Spec, we should
use specs.Spec instead of CompatOCISpec, and CompatOCISpec should be
useless from then.

Spread usage of CompatOCISpec can make code structure confusing and making
the runtime spec usage non-standard. Besides, this can be the very first
step of removing CompatOCISpec from config's Annotations field.

Signed-off-by: Wei Zhang <weizhang555.zw@gmail.com>
WeiZhang555 added a commit to WeiZhang555/runtime that referenced this issue Sep 4, 2019
Fixes: kata-containers#2023

CompatOCISpec is used to gurantee backward compatbility for old runtime
specs, after we convert CompatOCISpec to standard specs.Spec, we should
use specs.Spec instead of CompatOCISpec, and CompatOCISpec should be
useless from then.

Spread usage of CompatOCISpec can make code structure confusing and making
the runtime spec usage non-standard. Besides, this can be the very first
step of removing CompatOCISpec from config's Annotations field.

Signed-off-by: Wei Zhang <weizhang555.zw@gmail.com>
WeiZhang555 added a commit to WeiZhang555/runtime that referenced this issue Sep 5, 2019
Fixes: kata-containers#2023

CompatOCISpec is used to gurantee backward compatbility for old runtime
specs, after we convert CompatOCISpec to standard specs.Spec, we should
use specs.Spec instead of CompatOCISpec, and CompatOCISpec should be
useless from then.

Spread usage of CompatOCISpec can make code structure confusing and making
the runtime spec usage non-standard. Besides, this can be the very first
step of removing CompatOCISpec from config's Annotations field.

Signed-off-by: Wei Zhang <weizhang555.zw@gmail.com>
WeiZhang555 added a commit to WeiZhang555/runtime that referenced this issue Sep 6, 2019
Fixes: kata-containers#2023

We can get OCI spec config from bundle instead of annotations, so this
field isn't necessary.

Signed-off-by: Wei Zhang <weizhang555.zw@gmail.com>
WeiZhang555 added a commit to WeiZhang555/runtime that referenced this issue Sep 17, 2019
Fixes: kata-containers#2023

We can get OCI spec config from bundle instead of annotations, so this
field isn't necessary.

Signed-off-by: Wei Zhang <weizhang555.zw@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvement to an existing feature needs-review Needs to be assessed by the team.
Projects
None yet
1 participant