Show / Hide Table of Contents

Class V1VolumeProjection

Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.

Inheritance
object
V1VolumeProjection
Implements
IEquatable<V1VolumeProjection>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
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
Type Name Description
V1VolumeProjection original

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
Type Description
V1ClusterTrustBundleProjection
View Source

ConfigMap

configMap information about the configMap data to project

Declaration
[JsonPropertyName("configMap")]
public V1ConfigMapProjection ConfigMap { get; set; }
Property Value
Type Description
V1ConfigMapProjection
View Source

DownwardAPI

downwardAPI information about the downwardAPI data to project

Declaration
[JsonPropertyName("downwardAPI")]
public V1DownwardAPIProjection DownwardAPI { get; set; }
Property Value
Type Description
V1DownwardAPIProjection
View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
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
Type Description
V1PodCertificateProjection
View Source

Secret

secret information about the secret data to project

Declaration
[JsonPropertyName("secret")]
public V1SecretProjection Secret { get; set; }
Property Value
Type Description
V1SecretProjection
View Source

ServiceAccountToken

serviceAccountToken is information about the serviceAccountToken data to project

Declaration
[JsonPropertyName("serviceAccountToken")]
public V1ServiceAccountTokenProjection ServiceAccountToken { get; set; }
Property Value
Type Description
V1ServiceAccountTokenProjection

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1VolumeProjection?)

Declaration
public virtual bool Equals(V1VolumeProjection? other)
Parameters
Type Name Description
V1VolumeProjection other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1VolumeProjection?, V1VolumeProjection?)

Declaration
public static bool operator ==(V1VolumeProjection? left, V1VolumeProjection? right)
Parameters
Type Name Description
V1VolumeProjection left
V1VolumeProjection right
Returns
Type Description
bool
View Source

operator !=(V1VolumeProjection?, V1VolumeProjection?)

Declaration
public static bool operator !=(V1VolumeProjection? left, V1VolumeProjection? right)
Parameters
Type Name Description
V1VolumeProjection left
V1VolumeProjection right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX