aboutsummaryrefslogtreecommitdiff
path: root/libpod/define
diff options
context:
space:
mode:
authorUrvashi Mohnani <umohnani@redhat.com>2022-09-01 11:50:19 -0400
committerUrvashi Mohnani <umohnani@redhat.com>2022-09-01 11:51:46 -0400
commit4a1acccf965362eb315b38f9b2cb35a8564aa173 (patch)
treed168dba28517086885046826a16c8fba78d15e07 /libpod/define
parent0085fbb488eec30e71e6cced6a06dbdb134e32a6 (diff)
downloadpodman-4a1acccf965362eb315b38f9b2cb35a8564aa173.tar.gz
podman-4a1acccf965362eb315b38f9b2cb35a8564aa173.tar.bz2
podman-4a1acccf965362eb315b38f9b2cb35a8564aa173.zip
Fix bind-mount-option annotation in gen/play kube
The format used for setting the bind-mount-options annotations in the kube yaml was incorrect and caused k8s to throw an error when trying to play the generated kube yaml. Fix the annotation format to match the rules of k8s. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
Diffstat (limited to 'libpod/define')
-rw-r--r--libpod/define/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/define/config.go b/libpod/define/config.go
index 34c1a675d..1fad5cc9a 100644
--- a/libpod/define/config.go
+++ b/libpod/define/config.go
@@ -85,4 +85,4 @@ const PassthroughLogging = "passthrough"
const RLimitDefaultValue = uint64(1048576)
// BindMountPrefix distinguishes its annotations from others
-const BindMountPrefix = "bind-mount-options:"
+const BindMountPrefix = "bind-mount-options"