podman/pkg/specgen/generate
Jan Rodák b5a1b512c9
Fix overwriting the Healthcheck configuration from the image
If the --health-cmd flag is not specified, other flags such as --health-interval, --health-timeout, --health-retries, and --health-start-period are ignored if the image contains a Healthcheck. This makes it impossible to modify these Healthcheck configuration when a container is created.

Fixes: https://github.com/containers/podman/issues/20212
Fixes: https://issues.redhat.com/browse/RUN-2629

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-04-03 15:52:05 +02:00
..
kube ci: rm allow-unused from nolintlint settings 2025-03-31 12:27:55 -07:00
config_common.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
config_common_test.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
config_freebsd.go Add cdi-spec-dir option to top level options. 2025-03-28 11:24:57 +01:00
config_linux.go Add cdi-spec-dir option to top level options. 2025-03-28 11:24:57 +01:00
config_linux_seccomp.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
config_linux_test.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
container.go Fix overwriting the Healthcheck configuration from the image 2025-04-03 15:52:05 +02:00
container_create.go replace deprecated selinux/label calls 2025-03-24 17:44:43 +01:00
namespaces.go Add --no-hostname option 2025-01-15 06:51:32 -05:00
namespaces_freebsd.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
namespaces_linux.go pkg/specgen: use fileutils.(Le|E)xists 2024-04-19 09:52:14 +02:00
oci.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
oci_freebsd.go Add cdi-spec-dir option to top level options. 2025-03-28 11:24:57 +01:00
oci_linux.go Add cdi-spec-dir option to top level options. 2025-03-28 11:24:57 +01:00
pause_image.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_create.go Fix HealthCheck log destination, count, and size defaults 2025-03-12 21:27:00 +01:00
pod_create_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
ports.go allow exposed sctp ports 2024-09-18 14:24:45 +02:00
ports_bench_test.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
ports_test.go bump go to 1.22 2024-09-03 15:14:15 +02:00
security_freebsd.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
security_linux.go replace deprecated selinux/label calls 2025-03-24 17:44:43 +01:00
storage.go Overlay mounts supersede image volumes & volumes-from 2024-11-15 08:26:16 -05:00
storage_freebsd.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
storage_linux.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
validate_freebsd.go pkg/specgen/generate: fix unused warning on freebsd 2025-03-31 12:30:43 -07:00
validate_linux.go pkg/specgen: use fileutils.(Le|E)xists 2024-04-19 09:52:14 +02:00