Rename altNames to dnsNames
This commit is contained in:
parent
45a67dc748
commit
a3fc5d9eaa
@ -131,7 +131,7 @@ spec:
|
||||
issuerRef:
|
||||
name: letsencrypt-staging
|
||||
# A list of domains to include on the TLS certificate
|
||||
domains:
|
||||
dnsNames:
|
||||
- example.com
|
||||
- www.example.com
|
||||
- example2.com
|
||||
|
||||
@ -8,7 +8,7 @@ spec:
|
||||
secretName: cm-http-nginx-k8s-group
|
||||
issuerRef:
|
||||
name: letsencrypt-staging
|
||||
domains:
|
||||
dnsNames:
|
||||
- cm-http-nginx.k8s.group
|
||||
- cm-http-nginx2.k8s.group
|
||||
- cm-http-gce.k8s.group
|
||||
|
||||
@ -11,5 +11,5 @@ spec:
|
||||
# We can reference ClusterIssuers by changing the kind here.
|
||||
# The default value is Issuer (i.e. a locally namespaced Issuer)
|
||||
kind: Issuer
|
||||
domains:
|
||||
dnsNames:
|
||||
- cert-manager.k8s.io
|
||||
|
||||
@ -224,8 +224,8 @@ type CertificateList struct {
|
||||
type CertificateSpec struct {
|
||||
// CommonName is a common name to be used on the Certificate
|
||||
CommonName string `json:"commonName"`
|
||||
// AltNames is a list of subject alt names to be used on the Certificate
|
||||
AltNames []string `json:"altNames"`
|
||||
// DNSNames is a list of subject alt names to be used on the Certificate
|
||||
DNSNames []string `json:"dnsNames"`
|
||||
// SecretName is the name of the secret resource to store this secret in
|
||||
SecretName string `json:"secretName"`
|
||||
// IssuerRef is a reference to the issuer for this certificate. If the
|
||||
|
||||
Loading…
Reference in New Issue
Block a user