Skip to content

Commit

Permalink
little refactor
Browse files Browse the repository at this point in the history
Signed-off-by: gang.liu <[email protected]>
  • Loading branch information
izturn committed Aug 20, 2024
1 parent 4903fa7 commit 6a8d0ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/projectcontour/v1alpha1/contourdeployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ type ContourSettings struct {
//
// +kubebuilder:validation:Minimum=0
// +optional
CertLifetime uint32 `json:"certLifetime,omitempty" yaml:"certLifetime,omitempty"`
CertLifetime uint32 `json:"certLifetime,omitempty"`
}

// DeploymentSettings contains settings for Deployment resources.
Expand Down
2 changes: 1 addition & 1 deletion changelogs/unreleased/6604-izturn-minor.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

## Customize the certificate's lifetime

customize the number of days for which certificates will be valid. defaults to 365.
By setting `ContourDeployment.Spec.certLifetime`, you can customize the validity period of certificates generated by the `provisioner`. The default value is 365 days.

0 comments on commit 6a8d0ea

Please sign in to comment.