automation-tests/pkg/specgen
Aditya R aadae49ad3
overlay-volumes: add support for non-volatile upperdir,workdir for anonymous volumes
Similar feature was added for named overlay volumes here: https://github.com/containers/podman/pull/12712
Following PR just mimics similar feature for anonymous volumes.

Often users want their anonymous overlayed volumes to be `non-volatile` in nature
that means that same `upper` dir can be re-used by one or more
containers but overall of nature of volumes still have to be overlay
so work done is still on a overlay not on the actual volume.

Following PR adds support for more advanced options i.e custom `workdir`
and `upperdir` for overlayed volumes. So that users can re-use `workdir`
and `upperdir` across new containers as well.

Usage

```console
podman run -it -v /some/path:/data:O,upperdir=/path/persistant/upper,workdir=/path/persistant/work alpine sh
```

Signed-off-by: Aditya R <arajan@redhat.com>
2022-06-06 18:58:42 +05:30
..
generate fix pod network handling with a host network 2022-06-02 14:16:28 -04:00
config_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
container_validate.go pkg/specgen: parse default network mode on server 2022-06-01 17:13:30 +02:00
namespaces.go pkg/specgen: parse default network mode on server 2022-06-01 17:13:30 +02:00
namespaces_test.go pkg/specgen: parse default network mode on server 2022-06-01 17:13:30 +02:00
pod_validate.go bump go module to version 4 2022-01-18 12:47:07 +01:00
podspecgen.go podman pod create --uidmap patch 2022-06-01 12:45:00 -04:00
specgen.go run, create: add --passwd-entry 2022-04-14 11:22:13 +02:00
specgen_test.go fix test 2021-10-11 17:41:58 +08:00
volumes.go overlay-volumes: add support for non-volatile upperdir,workdir for anonymous volumes 2022-06-06 18:58:42 +05:30
winpath.go enable gocritic linter 2022-04-26 18:12:22 +02:00
winpath_linux.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath_unsupported.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath_windows.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00