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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user