diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2019-11-04 18:07:58 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2019-11-06 10:35:37 -0500 |
commit | a6108f1c19f4432eff4ee1e52eef9e60d13329e5 (patch) | |
tree | d1451bc83388799088ef0134b4cd27aa1458133b /test/e2e/test.yaml | |
parent | 581a7ec2984c2c125ff255c9aca62f2547c7d46f (diff) | |
download | podman-a6108f1c19f4432eff4ee1e52eef9e60d13329e5.tar.gz podman-a6108f1c19f4432eff4ee1e52eef9e60d13329e5.tar.bz2 podman-a6108f1c19f4432eff4ee1e52eef9e60d13329e5.zip |
Add support for RunAsUser and RunAsGroup
Currently podman generate kube does not generate the correct RunAsUser and RunAsGroup
options in the yaml file. This patch fixes this.
This patch also make `podman play kube` use the RunAdUser and RunAsGroup options if
they are specified in the yaml file.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/test.yaml')
-rw-r--r-- | test/e2e/test.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/e2e/test.yaml b/test/e2e/test.yaml index 319d6a4a0..98d2c91df 100644 --- a/test/e2e/test.yaml +++ b/test/e2e/test.yaml @@ -24,6 +24,9 @@ spec: name: test resources: {} securityContext: + runAsUser: 1000 + runAsGroup: 3000 + fsGroup: 2000 allowPrivilegeEscalation: true capabilities: {} privileged: false |