automation-tests/cmd/podman/common
Urvashi Mohnani edbeee5238 Add --restart flag to pod create
Add --restart flag to pod create to allow users to set the
restart policy for the pod, which applies to all the containers
in the pod. This reuses the restart policy already there for
containers and has the same restart policy options.
Add "never" to the restart policy options to match k8s syntax.
It is a synonym for "no" and does the exact same thing where the
containers are not restarted once exited.
Only the containers that have exited will be restarted based on the
restart policy, running containers will not be restarted when an exited
container is restarted in the same pod (same as is done in k8s).

Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2023-05-02 10:29:58 -04:00
..
completion.go Add completion for --init-ctr 2022-12-03 08:20:49 -05:00
completion_test.go bump golangci-lint to v1.49.0 2022-10-17 09:19:41 +02:00
create.go Add --restart flag to pod create 2023-05-02 10:29:58 -04:00
create_opts.go Fix default handling of pids-limit 2023-01-27 23:19:44 -06:00
create_test.go linter: enable unconvert linter 2022-05-19 13:59:15 +02:00
default.go Support setting image_volume_mode in containers.conf 2022-05-26 14:16:26 -04:00
diffChanges.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
inspect.go fix podman pod inspect to support multiple pods 2022-09-08 10:28:42 +02:00
netflags.go libpod: Add pasta networking mode 2022-11-08 00:16:35 +01:00
sign.go Add (podman {image,manifest} push --sign-by-sigstore=param-file.yaml) 2023-01-27 16:47:32 +01:00