Struct k8s_openapi::api::core::v1::WindowsSecurityContextOptions [−][src]
pub struct WindowsSecurityContextOptions { pub gmsa_credential_spec: Option<String>, pub gmsa_credential_spec_name: Option<String>, pub run_as_user_name: Option<String>, }
Expand description
WindowsSecurityContextOptions contain Windows-specific options and credentials.
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.
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
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for WindowsSecurityContextOptions
impl Sync for WindowsSecurityContextOptions
impl Unpin for WindowsSecurityContextOptions
impl UnwindSafe for WindowsSecurityContextOptions
Blanket Implementations
Mutably borrows from an owned value. Read more