pub struct ClusterTrustBundleProjection {
pub label_selector: Option<LabelSelector>,
pub name: Option<String>,
pub optional: Option<bool>,
pub path: String,
pub signer_name: Option<String>,
}
Expand description
ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.
Fields§
§label_selector: Option<LabelSelector>
Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as “match nothing”. If set but empty, interpreted as “match everything”.
name: Option<String>
Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.
optional: Option<bool>
If true, don’t block pod startup if the referenced ClusterTrustBundle(s) aren’t available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.
path: String
Relative path from the volume root to write the bundle.
signer_name: Option<String>
Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.
Trait Implementations§
Source§impl Clone for ClusterTrustBundleProjection
impl Clone for ClusterTrustBundleProjection
Source§fn clone(&self) -> ClusterTrustBundleProjection
fn clone(&self) -> ClusterTrustBundleProjection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ClusterTrustBundleProjection
impl Debug for ClusterTrustBundleProjection
Source§impl DeepMerge for ClusterTrustBundleProjection
impl DeepMerge for ClusterTrustBundleProjection
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.Source§impl Default for ClusterTrustBundleProjection
impl Default for ClusterTrustBundleProjection
Source§fn default() -> ClusterTrustBundleProjection
fn default() -> ClusterTrustBundleProjection
Source§impl<'de> Deserialize<'de> for ClusterTrustBundleProjection
impl<'de> Deserialize<'de> for ClusterTrustBundleProjection
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 ClusterTrustBundleProjection
impl PartialEq for ClusterTrustBundleProjection
Source§fn eq(&self, other: &ClusterTrustBundleProjection) -> bool
fn eq(&self, other: &ClusterTrustBundleProjection) -> bool
self
and other
values to be equal, and is used by ==
.