diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-03-03 14:48:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-03 14:48:10 +0100 |
commit | 3bc5f431d4df9724501a42a68e333f7e98a0b0cf (patch) | |
tree | 1f17afda2b289133dc4feaec4d8fb495c43372f2 /pkg/spec/createconfig.go | |
parent | 34baea814ba6af58e7f7b65622fd0fb7b838fbf7 (diff) | |
parent | f678b3fcf13d78cf45ea4fdb7f9f0937773b8371 (diff) | |
download | podman-3bc5f431d4df9724501a42a68e333f7e98a0b0cf.tar.gz podman-3bc5f431d4df9724501a42a68e333f7e98a0b0cf.tar.bz2 podman-3bc5f431d4df9724501a42a68e333f7e98a0b0cf.zip |
Merge pull request #5206 from rhatdan/capabilities
Allow devs to set labels in container images for default capabilities.
Diffstat (limited to 'pkg/spec/createconfig.go')
-rw-r--r-- | pkg/spec/createconfig.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/spec/createconfig.go b/pkg/spec/createconfig.go index 02678a687..1d9633bb3 100644 --- a/pkg/spec/createconfig.go +++ b/pkg/spec/createconfig.go @@ -112,6 +112,7 @@ type NetworkConfig struct { type SecurityConfig struct { CapAdd []string // cap-add CapDrop []string // cap-drop + CapRequired []string // cap-required LabelOpts []string //SecurityOpts NoNewPrivs bool //SecurityOpts ApparmorProfile string //SecurityOpts |