pub struct AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions {
pub gmsa_credential_spec: Option<String>,
pub gmsa_credential_spec_name: Option<String>,
pub host_process: Option<bool>,
pub run_as_user_name: Option<String>,
}Expand description
The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.
Fields§
§gmsa_credential_spec: Option<String>GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.
gmsa_credential_spec_name: Option<String>GMSACredentialSpecName is the name of the GMSA credential spec to use.
host_process: Option<bool>HostProcess determines if a container should be run as a ‘Host Process’ container. All of a Pod’s containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.
run_as_user_name: Option<String>The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
Trait Implementations§
Source§impl Clone for AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions
impl Clone for AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions
Source§fn clone(
&self,
) -> AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions
fn clone( &self, ) -> AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions
impl Default for AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions
Source§fn default() -> AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions
fn default() -> AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions
Source§impl<'de> Deserialize<'de> for AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions
impl<'de> Deserialize<'de> for AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions
impl PartialEq for AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions
Source§fn eq(
&self,
other: &AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions,
) -> bool
fn eq( &self, other: &AmazonCloudWatchAgentInitContainersSecurityContextWindowsOptions, ) -> bool
self and other values to be equal, and is used by ==.