ingress

package
v0.0.0-...-5f9e29a Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const (
	NginxIngressPassthroughAnnotation = "nginx.ingress.kubernetes.io/ssl-passthrough"
)

Variables

This section is empty.

Functions

func APIsToWatch

func APIsToWatch() ([]client.Object, error)

APIsToWatch give a list of APIs to watch if using this package to deploy the endpoint

func AddToScheme

func AddToScheme(scheme *runtime.Scheme) error

AddToScheme should be used as soon as scheme is created to add core objects for encoding/decoding

func New

func New(ctx context.Context, c client.Client, logger logr.Logger,
	namespacedName types.NamespacedName,
	ingressClassName *string,
	subdomain string,
	labels, ingressAnnotations map[string]string,
	ownerReferences []metav1.OwnerReference) (endpoint.Endpoint, error)

New creates an ingress endpoint object, deploys the resources on the cluster and then checks for the health of the loadbalancer. Before using the fields it is always recommended to check if the loadbalancer is healthy.

In order to generate the right RBAC, add the following lines to the Reconcile function annotations. +kubebuilder:rbac:groups=core,resources=services,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=networking.k8s.io,resources=ingresses,verbs=get;list;watch;create;update;patch;delete

Types

This section is empty.

Jump to

Keyboard shortcuts

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