/// <summary> /// Initializes a new instance of the V1beta1IngressTLS class. /// </summary> /// <param name="hosts">Hosts are a list of hosts included in the TLS /// certificate. The values in this list must match the name/s used in /// the tlsSecret. Defaults to the wildcard host setting for the /// loadbalancer controller fulfilling this Ingress, if left /// unspecified.</param> /// <param name="refProperty">Ref to used tls termination.</param> /// <param name="secretName">SecretName is the name of the secret used /// to terminate SSL traffic on 443. Field is left optional to allow /// SSL routing based on SNI hostname alone. If the SNI host in a /// listener conflicts with the "Host" header field used by an /// IngressRule, the SNI host is used for termination and value of the /// Host header is used for routing. Deprecated</param> public V1beta1IngressTLS(IList <string> hosts = default(IList <string>), V1beta1LocalTypedReference refProperty = default(V1beta1LocalTypedReference), string secretName = default(string)) { Hosts = hosts; RefProperty = refProperty; SecretName = secretName; CustomInit(); }
/// <summary> /// Initializes a new instance of the V1beta1CertificateSpec class. /// </summary> /// <param name="acmeUserSecretName">Secret contains ACMEUser /// information. Secret must contain a key `email` If empty tries to /// find an Secret via domains if not found create an ACMEUser and /// stores as a secret. Secrets key to be expected: /// ACME_EMAIL -> required, if not provided it will through error. /// ACME_SERVER_URL -> custom server url to generate certificates, /// default is lets encrypt. /// ACME_USER_DATA -> user data, if not found one will be created /// for the provided email, /// and stored in the key.</param> /// <param name="challengeProvider">ChallengeProvider details to verify /// domains</param> /// <param name="acmeStagingURL">ACME server that will be used to /// obtain this certificate. Deprecated</param> /// <param name="domains">Tries to obtain a single certificate using /// all domains passed into Domains. The first domain in domains is /// used for the CommonName field of the certificate, all other domains /// are added using the Subject Alternate Names extension.</param> /// <param name="email">Deprecated</param> /// <param name="httpProviderIngressReference">This is the ingress /// Reference that will be used if provider is http Deprecated</param> /// <param name="provider">Following fields are deprecated and will /// removed in future version. /// https://github.com/appscode/voyager/pull/506 Deprecated. DNS /// Provider.</param> /// <param /// name="providerCredentialSecretName">ProviderCredentialSecretName is /// used to create the acme client, that will do needed processing in /// DNS. Deprecated</param> /// <param name="storage">Storage backend to store the certificates /// currently, kubernetes secret and vault.</param> public V1beta1CertificateSpec(string acmeUserSecretName, V1beta1ChallengeProvider challengeProvider, string acmeStagingURL = default(string), IList <string> domains = default(IList <string>), string email = default(string), V1beta1LocalTypedReference httpProviderIngressReference = default(V1beta1LocalTypedReference), string provider = default(string), string providerCredentialSecretName = default(string), V1beta1CertificateStorage storage = default(V1beta1CertificateStorage)) { AcmeStagingURL = acmeStagingURL; AcmeUserSecretName = acmeUserSecretName; ChallengeProvider = challengeProvider; Domains = domains; Email = email; HttpProviderIngressReference = httpProviderIngressReference; Provider = provider; ProviderCredentialSecretName = providerCredentialSecretName; Storage = storage; CustomInit(); }
/// <summary> /// Initializes a new instance of the V1beta1HTTPChallengeProvider /// class. /// </summary> public V1beta1HTTPChallengeProvider(V1beta1LocalTypedReference ingress = default(V1beta1LocalTypedReference)) { Ingress = ingress; CustomInit(); }