Struct controller::cloudnativepg::poolers::PoolerTemplateSpecInitContainersSecurityContextSeccompProfile
source · pub struct PoolerTemplateSpecInitContainersSecurityContextSeccompProfile {
pub localhost_profile: Option<String>,
pub type: String,
}Expand description
The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows.
Fields§
§localhost_profile: Option<String>localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet’s configured seccomp profile location. Must be set if type is “Localhost”. Must NOT be set for any other type.
type: Stringtype indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.
Trait Implementations§
source§impl Clone for PoolerTemplateSpecInitContainersSecurityContextSeccompProfile
impl Clone for PoolerTemplateSpecInitContainersSecurityContextSeccompProfile
source§fn clone(&self) -> PoolerTemplateSpecInitContainersSecurityContextSeccompProfile
fn clone(&self) -> PoolerTemplateSpecInitContainersSecurityContextSeccompProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PoolerTemplateSpecInitContainersSecurityContextSeccompProfile
impl Default for PoolerTemplateSpecInitContainersSecurityContextSeccompProfile
source§fn default() -> PoolerTemplateSpecInitContainersSecurityContextSeccompProfile
fn default() -> PoolerTemplateSpecInitContainersSecurityContextSeccompProfile
source§impl<'de> Deserialize<'de> for PoolerTemplateSpecInitContainersSecurityContextSeccompProfile
impl<'de> Deserialize<'de> for PoolerTemplateSpecInitContainersSecurityContextSeccompProfile
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 PoolerTemplateSpecInitContainersSecurityContextSeccompProfile
impl JsonSchema for PoolerTemplateSpecInitContainersSecurityContextSeccompProfile
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