diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-04-12 12:36:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 12:36:20 +0200 |
commit | 9d3e31071087908207a8f7fdc84939edf3dc47c0 (patch) | |
tree | 7993a84a9b70504b2a99c88085e5e7205bc0b94b /pkg/util/kube.go | |
parent | 3b03ff7d1ea65c31ca8c9a28e70f7dd5a43afbf0 (diff) | |
parent | 61cb6d61dd420a000c843171b5917b5595874a67 (diff) | |
download | podman-9d3e31071087908207a8f7fdc84939edf3dc47c0.tar.gz podman-9d3e31071087908207a8f7fdc84939edf3dc47c0.tar.bz2 podman-9d3e31071087908207a8f7fdc84939edf3dc47c0.zip |
Merge pull request #9935 from EduardoVega/5788-kube-volume
Add support for play/generate kube PersistentVolumeClaims and Podman volumes
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" +) |