resources

package
v0.42.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL