diff options
author | Jordan Williams <jordan@jwillikers.com> | 2021-03-17 13:39:33 -0500 |
---|---|---|
committer | Jordan Williams <jordan@jwillikers.com> | 2021-03-19 13:52:35 -0500 |
commit | 1e255b6df92b8797acc91f95a53b88c044dfd683 (patch) | |
tree | ebcdd198162576305f5b149015ee34b83dbc2544 /vendor/github.com/docker/go-connections/sockets/sockets.go | |
parent | 5325957d536be3515fb7a782e4755afca38fca4c (diff) | |
download | podman-1e255b6df92b8797acc91f95a53b88c044dfd683.tar.gz podman-1e255b6df92b8797acc91f95a53b88c044dfd683.tar.bz2 podman-1e255b6df92b8797acc91f95a53b88c044dfd683.zip |
Generate Kubernetes PersistentVolumeClaims from named volumes
Fixes #5788
This commit adds support for named volumes in podman-generate-kube.
Named volumes are output in the YAML as PersistentVolumeClaims.
To avoid naming conflicts, the volume name is suffixed with "-pvc".
This commit adds a corresponding suffix for host path mounts.
Host path volumes are suffixed with "-host".
Signed-off-by: Jordan Williams <jordan@jwillikers.com>
Diffstat (limited to 'vendor/github.com/docker/go-connections/sockets/sockets.go')
0 files changed, 0 insertions, 0 deletions