Rename altNames to dnsNames

This commit is contained in:
James Munnelly 2017-10-13 13:31:52 +01:00
parent 45a67dc748
commit a3fc5d9eaa
4 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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