Merge pull request #6034 from gdvalle/patch-1

apis/acme/v1: ACMEIssuer: set omitempty on optional field
This commit is contained in:
jetstack-bot 2023-05-18 11:14:39 +01:00 committed by GitHub
commit 529497f150
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ type ACMEIssuer struct {
// chains that has a certificate with this value as its issuer's CN
// +optional
// +kubebuilder:validation:MaxLength=64
PreferredChain string `json:"preferredChain"`
PreferredChain string `json:"preferredChain,omitempty"`
// Base64-encoded bundle of PEM CAs which can be used to validate the certificate
// chain presented by the ACME server.