diff options
author | Eduardo Vega <edvegavalerio@gmail.com> | 2021-03-26 18:16:41 -0600 |
---|---|---|
committer | Eduardo Vega <edvegavalerio@gmail.com> | 2021-04-09 14:01:13 -0600 |
commit | 61cb6d61dd420a000c843171b5917b5595874a67 (patch) | |
tree | b56af885a529beb0ddf0386b090bc7cda5c93b49 /pkg/util/kube.go | |
parent | f143de9db6861cd8b8d6fc4e03f2826041307982 (diff) | |
download | podman-61cb6d61dd420a000c843171b5917b5595874a67.tar.gz podman-61cb6d61dd420a000c843171b5917b5595874a67.tar.bz2 podman-61cb6d61dd420a000c843171b5917b5595874a67.zip |
Add support for play/generate kube volumes
Signed-off-by: Eduardo Vega <edvegavalerio@gmail.com>
Diffstat (limited to 'pkg/util/kube.go')
-rw-r--r-- | pkg/util/kube.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/util/kube.go b/pkg/util/kube.go new file mode 100644 index 000000000..1255cdfc5 --- /dev/null +++ b/pkg/util/kube.go @@ -0,0 +1,16 @@ +package util + +const ( + // Kube annotation for podman volume driver. + VolumeDriverAnnotation = "volume.podman.io/driver" + // Kube annotation for podman volume type. + VolumeTypeAnnotation = "volume.podman.io/type" + // Kube annotation for podman volume device. + VolumeDeviceAnnotation = "volume.podman.io/device" + // Kube annotation for podman volume UID. + VolumeUIDAnnotation = "volume.podman.io/uid" + // Kube annotation for podman volume GID. + VolumeGIDAnnotation = "volume.podman.io/gid" + // Kube annotation for podman volume mount options. + VolumeMountOptsAnnotation = "volume.podman.io/mount-options" +) |