spiegel_podman/pkg/specgen/generate
Jan Rodák a6a7bcd017
[v5.4] Fix HealthCheck log destination, count, and size defaults
GoLang sets unset values to the default value of the type. This means that the destination of the log is an empty string and the count and size are set to 0. However, this means that size and count are unbounded, and this is not the default behavior.

Fixes: https://github.com/containers/podman/issues/25473
Fixes: https://issues.redhat.com/browse/RHEL-83262
Fixes: https://issues.redhat.com/browse/RHEL-83557
Fixes: https://issues.redhat.com/browse/RHEL-83556

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
(cherry picked from commit fff42ac232)
Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-03-14 16:04:38 +01:00
..
kube [v5.4] Fix HealthCheck log destination, count, and size defaults 2025-03-14 16:04:38 +01: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 Bump tags.cncf.io/container-device-interface to v0.7.1 2024-04-06 12:25:26 +02:00
config_linux.go update golangci-lint to 1.60.1 2024-08-19 11:41:28 +02: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 [v5.4] Fix HealthCheck log destination, count, and size defaults 2025-03-14 16:04:38 +01:00
container_create.go Add --health-max-log-count, --health-max-log-size, --health-log-destination flags 2024-09-25 14:01:35 +02: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 volumes-from support using annotation in kube yaml 2024-02-14 07:31:43 -08:00
oci_linux.go Fix podman stop and podman run --rmi 2024-08-20 09:51:18 -04:00
pause_image.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_create.go [v5.4] Fix HealthCheck log destination, count, and size defaults 2025-03-14 16:04:38 +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 golang.org/x/exp/slices with slices from std 2024-04-23 11:16:40 +02: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 Bump Go module to v5 2024-02-08 09:35:39 -05:00
validate_linux.go pkg/specgen: use fileutils.(Le|E)xists 2024-04-19 09:52:14 +02:00