Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeCertificate ¶ added in v0.20.0
func MakeCertificate(dm *v1beta1.DomainMapping, certClass string) *networkingv1alpha1.Certificate
MakeCertificate creates a Certificate for the DomainMapping.
This function delegates entirely to routeresources.MakeCertificate, but we keep it here to hide the `certName`, and `dnsName` logic from the caller.
func MakeDomainClaim ¶
func MakeDomainClaim(dm *v1beta1.DomainMapping) *netv1alpha1.ClusterDomainClaim
MakeDomainClaim creates a ClusterDomainClaim named after the given DomainMapping and giving ownership of the domain name to the DomainMapping's namespace.
func MakeIngress ¶
func MakeIngress(dm *servingv1beta1.DomainMapping, backendServiceName, hostName, ingressClass string, httpOption netv1alpha1.HTTPOption, tls []netv1alpha1.IngressTLS, acmeChallenges ...netv1alpha1.HTTP01Challenge) *netv1alpha1.Ingress
MakeIngress creates an Ingress object for a DomainMapping. The Ingress is always created in the same namespace as the DomainMapping, and the ingress backend is always in the same namespace also (as this is required by KIngress). The created ingress will contain a RewriteHost rule to cause the given hostName to be used as the host.
Types ¶
This section is empty.