Merge pull request #20395 from rhatdan/quadlet

Allow systemd specifiers in User and Group Quadlet keys
This commit is contained in:
openshift-ci[bot]
2023-10-19 09:28:12 +00:00
committed by GitHub
5 changed files with 46 additions and 13 deletions

View File

@@ -0,0 +1,6 @@
## assert-failed
## assert-stderr-contains "Group set without User"
[Container]
Image=localhost/imagename
Group=foobar

View File

@@ -1,5 +1,5 @@
## assert-podman-final-args localhost/imagename
## assert-podman-args "--user" "998:999"
## assert-podman-args "--user=998:999"
[Container]
Image=localhost/imagename

View File

@@ -0,0 +1,6 @@
## assert-podman-final-args localhost/imagename
## assert-podman-args "--user=%U:%G"
[Container]
Image=localhost/imagename
User=%U:%G

View File

@@ -0,0 +1,7 @@
## assert-podman-final-args localhost/imagename
## assert-podman-args "--user=%U:%G"
[Container]
Image=localhost/imagename
User=%U
Group=%G