Class CertificateDnsNameSelector
The kubernetes spec for a cert-manager ClusterIssuer.
Namespace: Neon.Kube.Resources.CertManager
Assembly: Neon.Kube.Resources.dll
Syntax
public class CertificateDnsNameSelector
Constructors
CertificateDnsNameSelector()
Constructor.
Declaration
public CertificateDnsNameSelector()
Properties
DnsNames
List of DNSNames that this solver will be used to solve. If specified and a match is found, a dnsNames selector will take precedence over a dnsZones selector. If multiple solvers match with the same dnsNames value, the solver with the most matching labels in matchLabels will be selected. If neither has more matches, the solver defined earlier in the list will be selected.
Declaration
[JsonProperty(PropertyName = "dnsNames", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "dnsNames", ApplyNamingConventions = false)]
public List<string> DnsNames { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
DnsZones
List of DNSZones that this solver will be used to solve. The most specific DNS zone match specified here will take precedence over other DNS zone matches, so a solver specifying sys.example.com will be selected over one specifying example.com for the domain www.sys.example.com. If multiple solvers match with the same dnsZones value, the solver with the most matching labels in matchLabels will be selected. If neither has more matches, the solver defined earlier in the list will be selected.
Declaration
[JsonProperty(PropertyName = "dnsZones", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "dnsZones", ApplyNamingConventions = false)]
public List<string> DnsZones { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
MatchLabels
A label selector that is used to refine the set of certificate’s that this challenge solver will apply to.
Declaration
[JsonProperty(PropertyName = "matchLabels", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "matchLabels", ApplyNamingConventions = false)]
public V1LabelSelector MatchLabels { get; set; }
Property Value
Type | Description |
---|---|
V1LabelSelector |