spiegel_podman/libpod
Brent Baude 2a524fcaec fix healthcheck timeouts and ut8 coercion
this commit fixes two bugs and adds regression tests.

when getting healthcheck values from an image, if the image does not
have a timeout defined, this resulted in a 0 value for timeout.  The
default as described in the man pages is 30s.

when inspecting a container with a healthcheck command, a customer
observed that the &, <, and > characters were being converted into a
unicode escape value.  It turns out json marshalling will by default
coerce string values to ut8.

Fixes: bz2028408

Signed-off-by: Brent Baude <bbaude@redhat.com>
2022-01-06 13:56:54 -06:00
..
common Set blob cache directory based on GraphDriver 2019-03-29 08:27:33 -04:00
define fix healthcheck timeouts and ut8 coercion 2022-01-06 13:56:54 -06:00
driver bump go module to v3 2021-02-22 09:03:51 +01:00
events standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
layers Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
linkmode Add podman static build 2020-05-11 13:11:07 +02:00
lock shm_lock: Handle ENOSPC better in AllocateSemaphore 2021-11-09 18:34:21 +11:00
logs standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
network fix doc 2022-01-03 16:11:11 +08:00
plugin bump go module to v3 2021-02-22 09:03:51 +01:00
shutdown Fix CI flake on time of shutdown for API service 2021-10-12 09:53:19 -07:00
boltdb_state.go network db: add new strucutre to container create 2021-12-14 15:23:39 +01:00
boltdb_state_internal.go network db: add new strucutre to container create 2021-12-14 15:23:39 +01:00
boltdb_state_linux.go standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
common_test.go libpod: deduplicate ports in db 2021-10-27 18:59:56 +02:00
container.go Add more checkpoint/restore information to 'inspect' 2021-12-17 10:02:35 +00:00
container_api.go Add --file-locks checkpoint/restore option 2021-11-18 19:23:25 +00:00
container_commit.go standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
container_config.go Pod Security Option support 2021-12-27 13:39:36 -05:00
container_copy_linux.go Don't use docker/pkg/archive, use containers/storage/pkg/archive 2021-10-14 10:28:42 -04:00
container_exec.go libpod: add execSessionNoCopy 2021-09-29 13:44:55 +02:00
container_graph.go implement init containers in podman 2021-08-04 14:14:36 -05:00
container_graph_test.go bump go module to v3 2021-02-22 09:03:51 +01:00
container_inspect.go Pod Security Option support 2021-12-27 13:39:36 -05:00
container_internal.go Support all volume mounts for rootless containers 2022-01-04 13:48:03 -05:00
container_internal_linux.go Allow users to add host user accounts to /etc/passwd 2021-12-23 07:51:27 -05:00
container_internal_linux_test.go feat: add localhost into hosts if the networking mode is not host 2021-09-04 18:24:41 +04:30
container_internal_test.go Refactor container config 2020-07-23 10:18:14 -04:00
container_linux.go Do not fetch pod and ctr State on retrieval in Bolt 2018-07-31 14:19:50 +00:00
container_log.go logging: new mode -l passthrough 2021-09-27 12:07:01 +02:00
container_log_linux.go Merge pull request #12285 from nalind/journal-follow-not-early 2021-11-15 22:09:29 +01:00
container_log_unsupported.go Switch eventlogger to journald by default 2021-08-23 17:59:42 -04:00
container_path_resolution.go volumes: be more tolerant and fix infinite loop 2021-10-28 16:37:33 +02:00
container_stat_linux.go podman cp: evaluate symlink correctly when copying from container 2021-03-09 10:45:15 +01:00
container_top_linux.go top: parse ps(1) args correctly 2021-12-01 11:42:37 +01:00
container_validate.go network db: add new strucutre to container create 2021-12-14 15:23:39 +01:00
diff.go Implement SD-NOTIFY proxy in conmon 2021-08-20 11:12:05 +02:00
events.go standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
healthcheck.go sync container state before reading the healthcheck 2021-09-22 17:40:16 +02:00
healthcheck_linux.go .service file removal on failure 2021-12-26 11:53:44 -06:00
info.go Update vendor or containers/common moving pkg/cgroups there 2021-12-07 06:17:11 -05:00
kube.go fix(generate): fix up podman generate kube missing env field bug 2021-12-18 09:25:37 +08:00
mounts_linux.go set root propagation based on volume properties 2018-11-26 13:55:02 +01:00
networking_linux.go network connect allow ip, ipv6 and mac address 2021-12-14 15:23:39 +01:00
networking_linux_test.go Introduce Address type to be used in secondary IPv4 and IPv6 inspect data 2021-11-18 17:04:49 +01:00
networking_machine.go podman machine improve port forwarding 2021-11-15 15:20:47 +01:00
networking_slirp4netns.go rename libpod nettypes fields 2021-11-16 19:19:04 +01:00
oci.go Added optional container restore statistics 2021-11-15 11:50:25 +00:00
oci_attach_linux.go libpod: fix race when closing STDIN 2021-10-06 17:51:07 +02:00
oci_conmon.go podman: add new cgroup mode split 2020-06-25 17:16:12 +02:00
oci_conmon_exec_linux.go libpod: fix race when closing STDIN 2021-10-06 17:51:07 +02:00
oci_conmon_linux.go Update vendor or containers/common moving pkg/cgroups there 2021-12-07 06:17:11 -05:00
oci_missing.go Added optional container restore statistics 2021-11-15 11:50:25 +00:00
oci_util.go libpod: deduplicate ports in db 2021-10-27 18:59:56 +02:00
options.go Pod Security Option support 2021-12-27 13:39:36 -05:00
pod.go codespell code 2021-10-12 16:44:25 -04:00
pod_api.go Pod Security Option support 2021-12-27 13:39:36 -05:00
pod_internal.go standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
pod_status.go bump go module to v3 2021-02-22 09:03:51 +01:00
pod_top_linux.go bump go module to v3 2021-02-22 09:03:51 +01:00
reset.go Add --time out for podman * rm -f commands 2021-10-04 07:07:56 -04:00
runtime.go Update vendor or containers/common moving pkg/cgroups there 2021-12-07 06:17:11 -05:00
runtime_cstorage.go Storage can remove ErrNotAContainer as well 2021-09-29 10:12:49 -04:00
runtime_ctr.go network db: add new strucutre to container create 2021-12-14 15:23:39 +01:00
runtime_img.go image rm: allow for force-remove infra images 2021-12-17 13:23:11 +01:00
runtime_migrate.go standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
runtime_pod.go Add --time out for podman * rm -f commands 2021-10-04 07:07:56 -04:00
runtime_pod_linux.go Update vendor or containers/common moving pkg/cgroups there 2021-12-07 06:17:11 -05:00
runtime_renumber.go bump go module to v3 2021-02-22 09:03:51 +01:00
runtime_volume.go Add --time out for podman * rm -f commands 2021-10-04 07:07:56 -04:00
runtime_volume_linux.go Support all volume mounts for rootless containers 2022-01-04 13:48:03 -05:00
state.go network db: add new strucutre to container create 2021-12-14 15:23:39 +01:00
state_test.go network db: add new strucutre to container create 2021-12-14 15:23:39 +01:00
stats.go Update vendor or containers/common moving pkg/cgroups there 2021-12-07 06:17:11 -05:00
storage.go Storage can remove ErrNotAContainer as well 2021-09-29 10:12:49 -04:00
util.go inotify: make sure to remove files 2021-12-09 17:06:21 +01:00
util_linux.go Update vendor or containers/common moving pkg/cgroups there 2021-12-07 06:17:11 -05:00
util_linux_test.go Fix mismatch between log messages and behavior of libpod.LabelVolumePath. 2020-09-13 23:24:15 -04:00
util_test.go bump go module to v3 2021-02-22 09:03:51 +01:00
volume.go volumes: Add support for exporting volumes to external tar 2021-08-23 20:42:41 +05:30
volume_inspect.go bump go module to v3 2021-02-22 09:03:51 +01:00
volume_internal.go Support all volume mounts for rootless containers 2022-01-04 13:48:03 -05:00
volume_internal_linux.go Support all volume mounts for rootless containers 2022-01-04 13:48:03 -05:00