Files
podman/docs/source/markdown
Salih Muhammed aec2f54ec6 quadlet: expand %N specifier in the Pod key
The Pod key of a .container unit accepts systemd specifiers, but handlePod
looked the referenced pod up in the units map using the raw value, so
"Pod=%N.pod" failed with "quadlet pod unit %N.pod does not exist" instead
of resolving to the pod named after the container's service.

Expand %N to the container's service name before the lookup, matching the
existing handling in GetContainerResourceName. Since %N is the service
name, setting ServiceName= lets the container and pod unit files use
different names.

Add e2e cases for both combinations: a pod named after the container
file, and a pod named after a ServiceName that differs from the file
name.

Fixes: #29108
Signed-off-by: Salih Muhammed <root@lr0.org>
2026-08-09 04:23:53 -04:00
..
2025-08-15 23:14:24 +05:30
2025-06-13 04:47:22 -04:00
2024-04-04 09:28:21 -04:00
2025-08-15 23:14:24 +05:30
2025-08-15 23:14:24 +05:30
2025-08-15 23:14:24 +05:30
2025-08-06 22:34:18 +03:00