Struct controller::cloudnativepg::poolers::PoolerTemplateSpecContainersSecurityContextWindowsOptions
source · pub struct PoolerTemplateSpecContainersSecurityContextWindowsOptions {
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 PoolerTemplateSpecContainersSecurityContextWindowsOptions
impl Clone for PoolerTemplateSpecContainersSecurityContextWindowsOptions
source§fn clone(&self) -> PoolerTemplateSpecContainersSecurityContextWindowsOptions
fn clone(&self) -> PoolerTemplateSpecContainersSecurityContextWindowsOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PoolerTemplateSpecContainersSecurityContextWindowsOptions
impl Default for PoolerTemplateSpecContainersSecurityContextWindowsOptions
source§fn default() -> PoolerTemplateSpecContainersSecurityContextWindowsOptions
fn default() -> PoolerTemplateSpecContainersSecurityContextWindowsOptions
source§impl<'de> Deserialize<'de> for PoolerTemplateSpecContainersSecurityContextWindowsOptions
impl<'de> Deserialize<'de> for PoolerTemplateSpecContainersSecurityContextWindowsOptions
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 PoolerTemplateSpecContainersSecurityContextWindowsOptions
impl JsonSchema for PoolerTemplateSpecContainersSecurityContextWindowsOptions
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