spiegel_podman/pkg/specgen
Jan Rodák 64e2b91ab4 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

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-03-17 15:10:59 +00:00
..
generate Fix HealthCheck log destination, count, and size defaults 2025-03-17 15:10:59 +00:00
container_validate.go Replace golang.org/x/exp/slices with slices from std 2024-04-23 11:16:40 +02:00
namespaces.go namespaces: allow configuring keep-id userns size 2025-01-08 10:08:29 +01:00
namespaces_test.go add support for driver-specific options during container creation 2024-11-13 18:14:58 +01:00
pod_validate.go Add --hosts-file flag to container and pod commands 2024-11-24 22:00:34 -05:00
podspecgen.go Add --no-hostname option 2025-01-15 06:51:32 -05:00
resources_freebsd.go specgen/generate: Factor out setting resource limits from CompleteSpec 2022-09-08 08:24:18 +01:00
resources_linux.go specgen/generate: Factor out setting resource limits from CompleteSpec 2022-09-08 08:24:18 +01:00
specgen.go Fix HealthCheck log destination, count, and size defaults 2025-03-17 15:10:59 +00:00
specgen_local.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
specgen_remote.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
specgen_test.go Convert SpecGen values to be nullable where possible 2024-01-30 10:42:24 -05:00
utils.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
utils_linux.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
volumes.go Add support for image volume subpaths 2024-04-25 14:12:27 -04:00
winpath.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
winpath_linux.go pkg/specgen: use fileutils.(Le|E)xists 2024-04-19 09:52:14 +02:00
winpath_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
winpath_windows.go pkg/specgen: use fileutils.(Le|E)xists 2024-04-19 09:52:14 +02:00