aboutsummaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-07-20 19:37:25 +0200
committerGitHub <noreply@github.com>2022-07-20 19:37:25 +0200
commitabfdd4b00cdd754c8b0745fa0921d12796029586 (patch)
tree4293206b8c19d1f63d76f1dcc6812e074437bf94 /libpod
parent8c9eff5b12eebe318be1f905562be6a236285caa (diff)
parentda33f100551ebd9b5e8790d677a1a8be2ea4fae4 (diff)
downloadpodman-abfdd4b00cdd754c8b0745fa0921d12796029586.tar.gz
podman-abfdd4b00cdd754c8b0745fa0921d12796029586.tar.bz2
podman-abfdd4b00cdd754c8b0745fa0921d12796029586.zip
Merge pull request #14977 from umohnani8/init
Update init ctr default for play kube
Diffstat (limited to 'libpod')
-rw-r--r--libpod/define/annotations.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/define/annotations.go b/libpod/define/annotations.go
index 8f5279981..580286d6a 100644
--- a/libpod/define/annotations.go
+++ b/libpod/define/annotations.go
@@ -135,6 +135,11 @@ const (
// creating a checkpoint image to specify the name of host distribution on
// which the checkpoint was created.
CheckpointAnnotationDistributionName = "io.podman.annotations.checkpoint.distribution.name"
+
+ // InitContainerType is used by play kube when playing a kube yaml to specify the type
+ // of the init container.
+ InitContainerType = "io.podman.annotations.init.container.type"
+
// MaxKubeAnnotation is the max length of annotations allowed by Kubernetes.
MaxKubeAnnotation = 63
)