apis/acme/v1: ACMEIssuer: set omitempty on optional field
This field is marked optional in the API docs, but is required when serializing JSON. Make it optional to match. Signed-off-by: Greg <gdvalle@users.noreply.github.com>
This commit is contained in:
parent
acdb055106
commit
662900a1d3
@ -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