summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-09-11 09:34:14 +0200
committerGitHub <noreply@github.com>2019-09-11 09:34:14 +0200
commit9cf852c305a9eadb5eb7471ea171e025bc15d866 (patch)
treec902be561b430c030f42d7ac52bff25b14ee579b /pkg
parent7ac6ed3b4b27621e7aa15da335e65ffa601fb83e (diff)
parentdf036f9f8eafe3d1355cfe9e52c69a07e8f79b63 (diff)
downloadpodman-9cf852c305a9eadb5eb7471ea171e025bc15d866.tar.gz
podman-9cf852c305a9eadb5eb7471ea171e025bc15d866.tar.bz2
podman-9cf852c305a9eadb5eb7471ea171e025bc15d866.zip
Merge pull request #3927 from openSUSE/manager-annotations
Add `ContainerManager` annotation to created containers
Diffstat (limited to 'pkg')
-rw-r--r--pkg/annotations/annotations.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/annotations/annotations.go b/pkg/annotations/annotations.go
index fe2591a0c..19b1029d1 100644
--- a/pkg/annotations/annotations.go
+++ b/pkg/annotations/annotations.go
@@ -102,6 +102,10 @@ const (
// CNIResult is the JSON string representation of the Result from CNI
CNIResult = "io.kubernetes.cri-o.CNIResult"
+
+ // ContainerManager is the annotation key for indicating the creator and
+ // manager of the container
+ ContainerManager = "io.container.manager"
)
// ContainerType values
@@ -112,3 +116,7 @@ const (
// ContainerTypeContainer represents a container running within a pod
ContainerTypeContainer = "container"
)
+
+// ContainerManagerLibpod indicates that libpod created and manages the
+// container
+const ContainerManagerLibpod = "libpod"