controller

command
v0.1.0-alpha.9 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package main provides the CLI entrypoint for the HAProxy template ingress controller.

The controller accepts configuration via CLI flags, environment variables, or defaults:

  • ConfigMap name: --configmap-name flag, CONFIGMAP_NAME env var, or "haproxy-config" default
  • Secret name: --secret-name flag, SECRET_NAME env var, or "haproxy-credentials" default
  • Webhook cert Secret: --webhook-cert-secret-name flag, WEBHOOK_CERT_SECRET_NAME env var, or "haproxy-webhook-certs" default
  • Kubeconfig: --kubeconfig flag (for out-of-cluster development)

The controller runs until receiving SIGTERM or SIGINT, at which point it performs graceful shutdown.

Jump to

Keyboard shortcuts

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