mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
CRI-API updates for windows host networking
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
This commit is contained in:
parent
c916f1a0eb
commit
a7bafa1361
File diff suppressed because it is too large
Load Diff
@ -900,6 +900,13 @@ message LinuxContainerConfig {
|
||||
LinuxContainerSecurityContext security_context = 2;
|
||||
}
|
||||
|
||||
// WindowsNamespaceOption provides options for Windows namespaces.
|
||||
message WindowsNamespaceOption {
|
||||
// Network namespace for this container/sandbox.
|
||||
// Namespaces currently set by the kubelet: POD, NODE
|
||||
NamespaceMode network = 1;
|
||||
}
|
||||
|
||||
// WindowsSandboxSecurityContext holds platform-specific configurations that will be
|
||||
// applied to a sandbox.
|
||||
// These settings will only apply to the sandbox container.
|
||||
@ -914,6 +921,9 @@ message WindowsSandboxSecurityContext {
|
||||
|
||||
// Indicates whether the container requested to run as a HostProcess container.
|
||||
bool host_process = 3;
|
||||
|
||||
// Configuration for the sandbox's namespaces
|
||||
WindowsNamespaceOption namespace_options = 4;
|
||||
}
|
||||
|
||||
// WindowsPodSandboxConfig holds platform-specific configurations for Windows
|
||||
@ -935,6 +945,9 @@ message WindowsContainerSecurityContext {
|
||||
|
||||
// Indicates whether a container is to be run as a HostProcess container.
|
||||
bool host_process = 3;
|
||||
|
||||
// Configurations for the sandbox's namespaces.
|
||||
WindowsNamespaceOption namespace_options = 4;
|
||||
}
|
||||
|
||||
// WindowsContainerConfig contains platform-specific configuration for
|
||||
|
Loading…
Reference in New Issue
Block a user