pub struct VolumeProjection {
pub secret: Option<SecretProjection>,
pub downward_api: Option<DownwardAPIProjection>,
pub config_map: Option<ConfigMapProjection>,
pub service_account_token: Option<ServiceAccountTokenProjection>,
pub cluster_trust_bundle: Option<ClusterTrustBundleProjection>,
}
Expand description
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
Fields§
§secret: Option<SecretProjection>
secret information about the secret data to project +optional
downward_api: Option<DownwardAPIProjection>
downwardAPI information about the downwardAPI data to project +optional
config_map: Option<ConfigMapProjection>
configMap information about the configMap data to project +optional
service_account_token: Option<ServiceAccountTokenProjection>
serviceAccountToken is information about the serviceAccountToken data to project +optional
cluster_trust_bundle: Option<ClusterTrustBundleProjection>
ClusterTrustBundle allows a pod to access the .spec.trustBundle
field
of ClusterTrustBundle objects in an auto-updating file.
Alpha, gated by the ClusterTrustBundleProjection feature gate.
ClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.
Kubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time.
+featureGate=ClusterTrustBundleProjection +optional
Trait Implementations§
Source§impl Clone for VolumeProjection
impl Clone for VolumeProjection
Source§fn clone(&self) -> VolumeProjection
fn clone(&self) -> VolumeProjection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for VolumeProjection
impl Debug for VolumeProjection
Source§impl Default for VolumeProjection
impl Default for VolumeProjection
Source§impl Message for VolumeProjection
impl Message for VolumeProjection
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.