pkg/apis: add 'notBefore' and 'renewalTime' fields to Certificate status
Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
parent
1d6424b8f2
commit
2d5901df3f
@ -277,11 +277,22 @@ type CertificateStatus struct {
|
||||
// +optional
|
||||
LastFailureTime *metav1.Time `json:"lastFailureTime,omitempty"`
|
||||
|
||||
// The time after which the certificate stored in the secret named
|
||||
// by this resource in spec.secretName is valid.
|
||||
// +optional
|
||||
NotBefore *metav1.Time `json:"notBefore,omitempty"`
|
||||
|
||||
// The expiration time of the certificate stored in the secret named
|
||||
// by this resource in spec.secretName.
|
||||
// +optional
|
||||
NotAfter *metav1.Time `json:"notAfter,omitempty"`
|
||||
|
||||
// RenewalTime is the time at which the certificate will be next
|
||||
// renewed.
|
||||
// If not set, no upcoming renewal is scheduled.
|
||||
// +optional
|
||||
RenewalTime *metav1.Time `json:"renewalTime,omitempty"`
|
||||
|
||||
// The current 'revision' of the certificate as issued.
|
||||
//
|
||||
// When a CertificateRequest resource is created, it will have the
|
||||
|
||||
@ -276,11 +276,22 @@ type CertificateStatus struct {
|
||||
// +optional
|
||||
LastFailureTime *metav1.Time `json:"lastFailureTime,omitempty"`
|
||||
|
||||
// The time after which the certificate stored in the secret named
|
||||
// by this resource in spec.secretName is valid.
|
||||
// +optional
|
||||
NotBefore *metav1.Time `json:"notBefore,omitempty"`
|
||||
|
||||
// The expiration time of the certificate stored in the secret named
|
||||
// by this resource in spec.secretName.
|
||||
// +optional
|
||||
NotAfter *metav1.Time `json:"notAfter,omitempty"`
|
||||
|
||||
// RenewalTime is the time at which the certificate will be next
|
||||
// renewed.
|
||||
// If not set, no upcoming renewal is scheduled.
|
||||
// +optional
|
||||
RenewalTime *metav1.Time `json:"renewalTime,omitempty"`
|
||||
|
||||
// The current 'revision' of the certificate as issued.
|
||||
//
|
||||
// When a CertificateRequest resource is created, it will have the
|
||||
|
||||
@ -226,10 +226,22 @@ type CertificateStatus struct {
|
||||
|
||||
LastFailureTime *metav1.Time
|
||||
|
||||
// The time after which the certificate stored in the secret named
|
||||
// by this resource in spec.secretName is valid.
|
||||
// +optional
|
||||
NotBefore *metav1.Time
|
||||
|
||||
// The expiration time of the certificate stored in the secret named
|
||||
// by this resource in spec.secretName.
|
||||
// +optional
|
||||
NotAfter *metav1.Time
|
||||
|
||||
// RenewalTime is the time at which the certificate will be next
|
||||
// renewed.
|
||||
// If not set, no upcoming renewal is scheduled.
|
||||
// +optional
|
||||
RenewalTime *metav1.Time
|
||||
|
||||
// The current 'revision' of the certificate as issued.
|
||||
//
|
||||
// When a CertificateRequest resource is created, it will have the
|
||||
|
||||
Loading…
Reference in New Issue
Block a user