Skip to content

Commit 058da18

Browse files
committed
Deprecate RenewBefore field from certificateSpec
Signed-off-by: Tamal Saha <[email protected]>
1 parent 55a83bd commit 058da18

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

api/v1/certificates.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ type CertificateSpec struct {
5959
Duration *metav1.Duration `json:"duration,omitempty" protobuf:"bytes,5,opt,name=duration"`
6060

6161
// Certificate renew before expiration duration
62+
//
63+
// Deprecated use `ReconfigureTLS` type OpsRequest instead.
64+
//
65+
// +deprecated
6266
// +optional
6367
RenewBefore *metav1.Duration `json:"renewBefore,omitempty" protobuf:"bytes,6,opt,name=renewBefore"`
6468

api/v1/generated.proto

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)