Documentation ¶
Index ¶
Constants ¶
const (
NginxIngressPassthroughAnnotation = "nginx.ingress.kubernetes.io/ssl-passthrough"
)
Variables ¶
This section is empty.
Functions ¶
func APIsToWatch ¶
APIsToWatch give a list of APIs to watch if using this package to deploy the endpoint
func AddToScheme ¶
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.