pub struct PoolerTemplateSpecSecurityContextWindowsOptions {
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 within a container’s SecurityContext 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 PoolerTemplateSpecSecurityContextWindowsOptions
impl Clone for PoolerTemplateSpecSecurityContextWindowsOptions
source§fn clone(&self) -> PoolerTemplateSpecSecurityContextWindowsOptions
fn clone(&self) -> PoolerTemplateSpecSecurityContextWindowsOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PoolerTemplateSpecSecurityContextWindowsOptions
impl Default for PoolerTemplateSpecSecurityContextWindowsOptions
source§fn default() -> PoolerTemplateSpecSecurityContextWindowsOptions
fn default() -> PoolerTemplateSpecSecurityContextWindowsOptions
source§impl<'de> Deserialize<'de> for PoolerTemplateSpecSecurityContextWindowsOptions
impl<'de> Deserialize<'de> for PoolerTemplateSpecSecurityContextWindowsOptions
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 JsonSchema for PoolerTemplateSpecSecurityContextWindowsOptions
impl JsonSchema for PoolerTemplateSpecSecurityContextWindowsOptions
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more