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