Struct k8s_openapi::api::certificates::v1alpha1::ClusterTrustBundleSpec
source · pub struct ClusterTrustBundleSpec {
pub signer_name: Option<String>,
pub trust_bundle: String,
}
Expand description
ClusterTrustBundleSpec contains the signer and trust anchors.
Fields§
§signer_name: Option<String>
signerName indicates the associated signer, if any.
In order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName=<the signer name> verb=attest.
If signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name example.com/foo
, valid ClusterTrustBundle object names include example.com:foo:abc
and example.com:foo:v1
.
If signerName is empty, then the ClusterTrustBundle object’s name must not have such a prefix.
List/watch requests for ClusterTrustBundles can filter on this field using a spec.signerName=NAME
field selector.
trust_bundle: String
trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates.
The data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate must include a basic constraints extension with the CA bit set. The API server will reject objects that contain duplicate certificates, or that use PEM block headers.
Users of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data.
Trait Implementations§
source§impl Clone for ClusterTrustBundleSpec
impl Clone for ClusterTrustBundleSpec
source§fn clone(&self) -> ClusterTrustBundleSpec
fn clone(&self) -> ClusterTrustBundleSpec
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterTrustBundleSpec
impl Debug for ClusterTrustBundleSpec
source§impl DeepMerge for ClusterTrustBundleSpec
impl DeepMerge for ClusterTrustBundleSpec
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl Default for ClusterTrustBundleSpec
impl Default for ClusterTrustBundleSpec
source§fn default() -> ClusterTrustBundleSpec
fn default() -> ClusterTrustBundleSpec
source§impl<'de> Deserialize<'de> for ClusterTrustBundleSpec
impl<'de> Deserialize<'de> for ClusterTrustBundleSpec
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 ClusterTrustBundleSpec
impl PartialEq for ClusterTrustBundleSpec
source§impl Serialize for ClusterTrustBundleSpec
impl Serialize for ClusterTrustBundleSpec
impl StructuralPartialEq for ClusterTrustBundleSpec
Auto Trait Implementations§
impl Freeze for ClusterTrustBundleSpec
impl RefUnwindSafe for ClusterTrustBundleSpec
impl Send for ClusterTrustBundleSpec
impl Sync for ClusterTrustBundleSpec
impl Unpin for ClusterTrustBundleSpec
impl UnwindSafe for ClusterTrustBundleSpec
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)