Do not send empty certificates to nginx
This commit is contained in:
parent
d57fddebd7
commit
8ca5c1cba9
2 changed files with 10 additions and 3 deletions
|
|
@ -43,7 +43,7 @@ type SSLCert struct {
|
|||
// ExpiresTime contains the expiration of this SSL certificate in timestamp format
|
||||
ExpireTime time.Time `json:"expires"`
|
||||
// Pem encoded certificate and key concatenated
|
||||
PemCertKey string `json:"pemCertKey"`
|
||||
PemCertKey string `json:"pemCertKey,omitempty"`
|
||||
}
|
||||
|
||||
// GetObjectKind implements the ObjectKind interface as a noop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue