Class V1VolumeProjection
Projection that may be projected along with other supported volume types.
Exactly one of these fields must be set.
Inheritance
V1VolumeProjection
Assembly: KubernetesClient.dll
Syntax
public record V1VolumeProjection : IEquatable<V1VolumeProjection>
Constructors
View Source
V1VolumeProjection()
Declaration
public V1VolumeProjection()
View Source
V1VolumeProjection(V1VolumeProjection)
Declaration
protected V1VolumeProjection(V1VolumeProjection original)
Parameters
Properties
View Source
ClusterTrustBundle
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.
Declaration
[JsonPropertyName("clusterTrustBundle")]
public V1ClusterTrustBundleProjection ClusterTrustBundle { get; set; }
Property Value
View Source
ConfigMap
configMap information about the configMap data to project
Declaration
[JsonPropertyName("configMap")]
public V1ConfigMapProjection ConfigMap { get; set; }
Property Value
View Source
DownwardAPI
downwardAPI information about the downwardAPI data to project
Declaration
[JsonPropertyName("downwardAPI")]
public V1DownwardAPIProjection DownwardAPI { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
PodCertificate
Projects an auto-rotating credential bundle (private key and certificate chain)
that the pod can use either as a TLS client or server.
Kubelet generates a private key and uses it to send a PodCertificateRequest to
the named signer. Once the signer approves the request and issues a certificate
chain, Kubelet writes the key and certificate chain to the pod filesystem. The
pod does not start until certificates have been issued for each podCertificate
projected volume source in its spec.
Kubelet will begin trying to rotate the certificate at the time indicated by the
signer using the PodCertificateRequest.Status.BeginRefreshAt timestamp.
Kubelet can write a single file, indicated by the credentialBundlePath field, or
separate files, indicated by the keyPath and certificateChainPath fields.
The credential bundle is a single file in PEM format. The first PEM entry is
the private key (in PKCS#8 format), and the remaining PEM entries are the
certificate chain issued by the signer (typically, signers will return their
certificate chain in leaf-to-root order).
Prefer using the credential bundle format, since your application code can read
it atomically. If you use keyPath and certificateChainPath, your application
must make two separate file reads. If these coincide with a certificate
rotation, it is possible that the private key and leaf certificate you read may
not correspond to each other. Your application will need to check for this
condition, and re-read until they are consistent.
The named signer controls chooses the format of the certificate it issues;
consult the signer implementation's documentation to learn how to use the
certificates it issues.
Declaration
[JsonPropertyName("podCertificate")]
public V1PodCertificateProjection PodCertificate { get; set; }
Property Value
View Source
Secret
secret information about the secret data to project
Declaration
[JsonPropertyName("secret")]
public V1SecretProjection Secret { get; set; }
Property Value
View Source
ServiceAccountToken
serviceAccountToken is information about the serviceAccountToken data to project
Declaration
[JsonPropertyName("serviceAccountToken")]
public V1ServiceAccountTokenProjection ServiceAccountToken { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1VolumeProjection?)
Declaration
public virtual bool Equals(V1VolumeProjection? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1VolumeProjection?, V1VolumeProjection?)
Declaration
public static bool operator ==(V1VolumeProjection? left, V1VolumeProjection? right)
Parameters
Returns
View Source
operator !=(V1VolumeProjection?, V1VolumeProjection?)
Declaration
public static bool operator !=(V1VolumeProjection? left, V1VolumeProjection? right)
Parameters
Returns
Implements