pub struct AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions {
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 AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions
impl Clone for AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions
Source§fn clone(
&self,
) -> AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions
fn clone( &self, ) -> AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions
impl Debug for AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions
Source§impl Default for AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions
impl Default for AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions
Source§fn default() -> AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions
fn default() -> AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions
Source§impl<'de> Deserialize<'de> for AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions
impl<'de> Deserialize<'de> for AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions
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 AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions
impl PartialEq for AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions
Source§fn eq(
&self,
other: &AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions,
) -> bool
fn eq( &self, other: &AutoscalingRunnerSetTemplateSpecEphemeralContainersSecurityContextWindowsOptions, ) -> bool
self and other values to be equal, and is used by ==.