Add design doc
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
This commit is contained in:
parent
f121f39e4c
commit
83fbe65bb3
|
@ -38,11 +38,10 @@ The proposal introduces a new optional field, `LeafCertValidity`, in the `Custom
|
||||||
### API Changes
|
### API Changes
|
||||||
|
|
||||||
```go
|
```go
|
||||||
// CustomCertificate holds the configuration for generating the certificate.
|
|
||||||
type CustomCertificate struct {
|
type CustomCertificate struct {
|
||||||
// Other, existing fields omitted for brevity
|
// Other, existing fields omitted for brevity
|
||||||
|
|
||||||
// LeafCertValidity specifies the validity period of leaf certificates in days.
|
// LeafCertValidity specifies the validity period of leaf certificates (e.g., API Server certificate) in days.
|
||||||
// If not specified, the default validity period of 1 year will be used.
|
// If not specified, the default validity period of 1 year will be used.
|
||||||
// +optional
|
// +optional
|
||||||
LeafCertValidity *int `json:"leafCertValidity,omitempty"`
|
LeafCertValidity *int `json:"leafCertValidity,omitempty"`
|
||||||
|
|
Loading…
Reference in New Issue