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>
This commit is contained in:
Urvashi Mohnani
2022-09-01 11:50:19 -04:00
parent 0085fbb488
commit 4a1acccf96
4 changed files with 9 additions and 6 deletions

View File

@ -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"