Add sysctl api, validation & Docker support

This commit is contained in:
Dominika Hodovska
2016-06-14 15:09:53 +02:00
committed by Dr. Stefan Schimanski
parent c5e7e5124a
commit bea189e9c9
6 changed files with 328 additions and 0 deletions

View File

@@ -1564,6 +1564,14 @@ type PodSpec struct {
Subdomain string `json:"subdomain,omitempty"`
}
// Sysctl defines a kernel parameter to be set
type Sysctl struct {
// Name of a property to set
Name string `json:"name"`
// Value of a property to set
Value string `json:"value"`
}
// PodSecurityContext holds pod-level security attributes and common container settings.
// Some fields are also present in container.securityContext. Field values of
// container.securityContext take precedence over field values of PodSecurityContext.