Show / Hide Table of Contents

Class V1alpha1PodCertificateRequestStatus

PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.

Inheritance
object
V1alpha1PodCertificateRequestStatus
Implements
IEquatable<V1alpha1PodCertificateRequestStatus>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1alpha1PodCertificateRequestStatus : IEquatable<V1alpha1PodCertificateRequestStatus>

Constructors

View Source

V1alpha1PodCertificateRequestStatus()

Declaration
public V1alpha1PodCertificateRequestStatus()
View Source

V1alpha1PodCertificateRequestStatus(V1alpha1PodCertificateRequestStatus)

Declaration
protected V1alpha1PodCertificateRequestStatus(V1alpha1PodCertificateRequestStatus original)
Parameters
Type Name Description
V1alpha1PodCertificateRequestStatus original

Properties

View Source

BeginRefreshAt

beginRefreshAt is the time at which the kubelet should begin trying to refresh the certificate. This field is set via the /status subresource, and must be set at the same time as certificateChain. Once populated, this field is immutable.

This field is only a hint. Kubelet may start refreshing before or after this time if necessary.

Declaration
[JsonPropertyName("beginRefreshAt")]
public DateTime? BeginRefreshAt { get; set; }
Property Value
Type Description
DateTime?
View Source

CertificateChain

certificateChain is populated with an issued certificate by the signer. This field is set via the /status subresource. Once populated, this field is immutable.

If the certificate signing request is denied, a condition of type "Denied" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type "Failed" is added and this field remains empty.

Validation requirements:

  1. certificateChain must consist of one or more PEM-formatted certificates.
  2. Each entry must be a valid PEM-wrapped, DER-encoded ASN.1 Certificate as described in section 4 of RFC5280.

If more than one block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes. When projecting the chain into a pod volume, kubelet will drop any data in-between the PEM blocks, as well as any PEM block headers.

Declaration
[JsonPropertyName("certificateChain")]
public string CertificateChain { get; set; }
Property Value
Type Description
string
View Source

Conditions

conditions applied to the request.

The types "Issued", "Denied", and "Failed" have special handling. At most one of these conditions may be present, and they must have status "True".

If the request is denied with Reason=UnsupportedKeyType, the signer may suggest a key type that will work in the message field.

Declaration
[JsonPropertyName("conditions")]
public IList<V1Condition> Conditions { get; set; }
Property Value
Type Description
IList<V1Condition>
View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

NotAfter

notAfter is the time at which the certificate expires. The value must be the same as the notAfter value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain.

Declaration
[JsonPropertyName("notAfter")]
public DateTime? NotAfter { get; set; }
Property Value
Type Description
DateTime?
View Source

NotBefore

notBefore is the time at which the certificate becomes valid. The value must be the same as the notBefore value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain.

Declaration
[JsonPropertyName("notBefore")]
public DateTime? NotBefore { get; set; }
Property Value
Type Description
DateTime?

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(V1alpha1PodCertificateRequestStatus?)

Declaration
public virtual bool Equals(V1alpha1PodCertificateRequestStatus? other)
Parameters
Type Name Description
V1alpha1PodCertificateRequestStatus 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 ==(V1alpha1PodCertificateRequestStatus?, V1alpha1PodCertificateRequestStatus?)

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

operator !=(V1alpha1PodCertificateRequestStatus?, V1alpha1PodCertificateRequestStatus?)

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

Implements

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