1
0
mirror of https://github.com/containers/podman.git synced 2026-02-05 15:45:08 +01:00

Quadlet - add support for the Policy key for .image files

Resolves: #26446

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
Ygal Blum
2025-07-10 12:18:26 -04:00
parent cc84e29ddd
commit 439448c287
4 changed files with 17 additions and 0 deletions

View File

@@ -137,6 +137,7 @@ const (
KeyPod = "Pod"
KeyPodmanArgs = "PodmanArgs"
KeyPodName = "PodName"
KeyPolicy = "Policy"
KeyPublishPort = "PublishPort"
KeyPull = "Pull"
KeyReadOnly = "ReadOnly"
@@ -427,6 +428,7 @@ var (
KeyImageTag: true,
KeyOS: true,
KeyPodmanArgs: true,
KeyPolicy: true,
KeyRetry: true,
KeyRetryDelay: true,
KeyServiceName: true,
@@ -1312,6 +1314,7 @@ func ConvertImage(image *parser.UnitFile, unitsInfoMap map[string]*UnitInfo, isU
KeyCreds: "--creds",
KeyDecryptionKey: "--decryption-key",
KeyOS: "--os",
KeyPolicy: "--policy",
KeyVariant: "--variant",
KeyRetry: "--retry",
KeyRetryDelay: "--retry-delay",