Document more info on CN behaviour
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
This commit is contained in:
parent
7e318dbfbb
commit
3c09a7b80c
@ -65,10 +65,10 @@ spec:
|
||||
- secretName
|
||||
properties:
|
||||
commonName:
|
||||
description: CommonName is a common name to be used on the Certificate.
|
||||
description: 'CommonName is a common name to be used on the Certificate.
|
||||
The CommonName should have a length of 64 characters or fewer to avoid
|
||||
generating invalid CSRs. This value is ignored by TLS clients when
|
||||
any subject alt name is set.
|
||||
any subject alt name is set. This is x509 behaviour: https://tools.ietf.org/html/rfc6125#section-6.4.4'
|
||||
type: string
|
||||
dnsNames:
|
||||
description: DNSNames is a list of subject alt names to be used on the
|
||||
|
||||
@ -256,10 +256,10 @@ spec:
|
||||
- secretName
|
||||
properties:
|
||||
commonName:
|
||||
description: CommonName is a common name to be used on the Certificate.
|
||||
description: 'CommonName is a common name to be used on the Certificate.
|
||||
The CommonName should have a length of 64 characters or fewer to avoid
|
||||
generating invalid CSRs. This value is ignored by TLS clients when
|
||||
any subject alt name is set.
|
||||
any subject alt name is set. This is x509 behaviour: https://tools.ietf.org/html/rfc6125#section-6.4.4'
|
||||
type: string
|
||||
dnsNames:
|
||||
description: DNSNames is a list of subject alt names to be used on the
|
||||
|
||||
@ -80,6 +80,7 @@ type CertificateSpec struct {
|
||||
// The CommonName should have a length of 64 characters or fewer to avoid
|
||||
// generating invalid CSRs.
|
||||
// This value is ignored by TLS clients when any subject alt name is set.
|
||||
// This is x509 behaviour: https://tools.ietf.org/html/rfc6125#section-6.4.4
|
||||
// +optional
|
||||
CommonName string `json:"commonName,omitempty"`
|
||||
|
||||
|
||||
@ -79,6 +79,8 @@ type CertificateSpec struct {
|
||||
// CommonName is a common name to be used on the Certificate.
|
||||
// The CommonName should have a length of 64 characters or fewer to avoid
|
||||
// generating invalid CSRs.
|
||||
// This value is ignored by TLS clients when any subject alt name is set.
|
||||
// This is x509 behaviour: https://tools.ietf.org/html/rfc6125#section-6.4.4
|
||||
// +optional
|
||||
CommonName string `json:"commonName,omitempty"`
|
||||
|
||||
|
||||
@ -29,6 +29,7 @@ filegroup(
|
||||
name = "all-srcs",
|
||||
srcs = [
|
||||
":package-srcs",
|
||||
"//pkg/internal/venafi/api:all-srcs",
|
||||
"//pkg/internal/venafi/fake:all-srcs",
|
||||
],
|
||||
tags = ["automanaged"],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user