Documentation ¶
Index ¶
- Constants
- func CreateOrUpdateControlledCloudflared(ctx context.Context, kubeClient client.Client, ...) error
- func FromIngressToExposure(ctx context.Context, logger logr.Logger, kubeClient client.Client, ...) ([]exposure.Exposure, error)
- func RegisterIngressController(logger logr.Logger, mgr manager.Manager, options IngressControllerOptions) error
- type IngressController
- type IngressControllerOptions
Constants ¶
View Source
const AnnotationBackendProtocol = "cloudflare-tunnel-ingress-controller.strrl.dev/backend-protocol"
AnnotationBackendProtocol is the annotation key for proxy-backend-protocol, default "http".
View Source
const AnnotationProxySSLVerify = "cloudflare-tunnel-ingress-controller.strrl.dev/proxy-ssl-verify"
AnnotationProxySSLVerify is the annotation key for proxy-ssl-verify, available values: "on" or "off", default "off".
View Source
const AnnotationProxySSLVerifyOff = "off"
View Source
const AnnotationProxySSLVerifyOn = "on"
View Source
const IngressControllerFinalizer = "strrl.dev/cloudflare-tunnel-ingress-controller-controlled"
View Source
const WellKnownIngressAnnotation = "kubernetes.io/ingress.class"
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateControlledCloudflared ¶ added in v0.0.13
func CreateOrUpdateControlledCloudflared( ctx context.Context, kubeClient client.Client, tunnelClient cloudflarecontroller.TunnelClientInterface, namespace string, protocol string, ) error
func FromIngressToExposure ¶ added in v0.0.4
Types ¶
type IngressController ¶
type IngressController struct {
// contains filtered or unexported fields
}
func NewIngressController ¶
func NewIngressController(logger logr.Logger, kubeClient client.Client, ingressClassName string, controllerClassName string, tunnelClient *cloudflarecontroller.TunnelClient) *IngressController
type IngressControllerOptions ¶
type IngressControllerOptions struct { IngressClassName string ControllerClassName string CFTunnelClient *cloudflarecontroller.TunnelClient }
Click to show internal directories.
Click to hide internal directories.