diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-01-13 16:44:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 16:44:52 +0100 |
commit | ab7228b3c27719e447de4dffe9b3fd7f67d6f346 (patch) | |
tree | 281392e18e84d47b859554b0bd612ea5db431e98 /pkg/specgen | |
parent | e98058a3cf4f5ba4cd2d37dfdb2a0951b9aa9730 (diff) | |
parent | f257d983943d6ec2253d50a245cd4810cab45e4b (diff) | |
download | podman-ab7228b3c27719e447de4dffe9b3fd7f67d6f346.tar.gz podman-ab7228b3c27719e447de4dffe9b3fd7f67d6f346.tar.bz2 podman-ab7228b3c27719e447de4dffe9b3fd7f67d6f346.zip |
Merge pull request #12836 from cdoern/podSysCtl
Podman Pod Create --sysctl support
Diffstat (limited to 'pkg/specgen')
-rw-r--r-- | pkg/specgen/podspecgen.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/specgen/podspecgen.go b/pkg/specgen/podspecgen.go index fdaa714da..31f96b933 100644 --- a/pkg/specgen/podspecgen.go +++ b/pkg/specgen/podspecgen.go @@ -74,6 +74,8 @@ type PodBasicConfig struct { Userns Namespace `json:"userns,omitempty"` // Devices contains user specified Devices to be added to the Pod Devices []string `json:"pod_devices,omitempty"` + // Sysctl sets kernel parameters for the pod + Sysctl map[string]string `json:"sysctl,omitempty"` } // PodNetworkConfig contains networking configuration for a pod. |