Merge pull request #6034 from gdvalle/patch-1
apis/acme/v1: ACMEIssuer: set omitempty on optional field
This commit is contained in:
commit
529497f150
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user