mirror of
https://github.com/hanzoai/ingress.git
synced 2026-10-20 15:07:40 +00:00
Production runs exactly three providers — Kubernetes Ingress, Kubernetes CRD
and File. Everything else was inherited from upstream and carried forward
untouched: Docker, Swarm, Consul Catalog, and the KV config backends, plus
their docs, integration fixtures and compose files.
Removes 111 files across docs/content/{providers,routing,reference,user-guides,
expose}, integration/{resources/compose,fixtures/consul_catalog} and
pkg/config/kv, and updates the README to state the three supported providers
rather than upstream's full matrix.
Dead surface is not free: it is documentation that describes behaviour nobody
here can exercise, integration fixtures that shape CI time, and config code
that has to keep compiling through every refactor.
Verified: go build ./... exits 0 and go vet is clean after the deletions —
pkg/config/kv had no remaining importers.
126 lines
2.8 KiB
YAML
126 lines
2.8 KiB
YAML
################################################################
|
|
#
|
|
# Configuration sample for Hanzo Ingress.
|
|
#
|
|
################################################################
|
|
|
|
################################################################
|
|
# Global configuration
|
|
################################################################
|
|
global:
|
|
checkNewVersion: true
|
|
sendAnonymousUsage: true
|
|
|
|
################################################################
|
|
# EntryPoints configuration
|
|
################################################################
|
|
|
|
# EntryPoints definition
|
|
#
|
|
# Optional
|
|
#
|
|
entryPoints:
|
|
web:
|
|
address: :80
|
|
|
|
websecure:
|
|
address: :443
|
|
|
|
################################################################
|
|
# Ingress logs configuration
|
|
################################################################
|
|
|
|
# Ingress logs
|
|
# Enabled by default and log to stdout
|
|
#
|
|
# Optional
|
|
#
|
|
#log:
|
|
# Log level
|
|
#
|
|
# Optional
|
|
# Default: "ERROR"
|
|
#
|
|
# level: DEBUG
|
|
|
|
# Sets the filepath for the ingress.log. If not specified, stdout will be used.
|
|
# Intermediate directories are created if necessary.
|
|
#
|
|
# Optional
|
|
# Default: os.Stdout
|
|
#
|
|
# filePath: log/ingress.log
|
|
|
|
# Format is either "json" or "common".
|
|
#
|
|
# Optional
|
|
# Default: "common"
|
|
#
|
|
# format: json
|
|
|
|
################################################################
|
|
# Access logs configuration
|
|
################################################################
|
|
|
|
# Enable access logs
|
|
# By default it will write to stdout and produce logs in the textual
|
|
# Common Log Format (CLF), extended with additional fields.
|
|
#
|
|
# Optional
|
|
#
|
|
#accessLog:
|
|
# Sets the file path for the access log. If not specified, stdout will be used.
|
|
# Intermediate directories are created if necessary.
|
|
#
|
|
# Optional
|
|
# Default: os.Stdout
|
|
#
|
|
# filePath: /path/to/log/log.txt
|
|
|
|
# Format is either "json", "common", or "genericCLF".
|
|
# - "common": the ingress' extended CLF format (default)
|
|
# - "genericCLF": Standard CLF format compatible with standard log analyzers
|
|
# - "json": JSON format for structured logging
|
|
#
|
|
# Optional
|
|
# Default: "common"
|
|
#
|
|
# format: json
|
|
# format: genericCLF
|
|
|
|
################################################################
|
|
# API and dashboard configuration
|
|
################################################################
|
|
|
|
# Enable API and dashboard
|
|
#
|
|
# Optional
|
|
#
|
|
#api:
|
|
# Enable the API in insecure mode
|
|
#
|
|
# Optional
|
|
# Default: false
|
|
#
|
|
# insecure: true
|
|
|
|
# Enabled Dashboard
|
|
#
|
|
# Optional
|
|
# Default: true
|
|
#
|
|
# dashboard: false
|
|
|
|
################################################################
|
|
# Ping configuration
|
|
################################################################
|
|
|
|
# Enable ping
|
|
#ping:
|
|
# Name of the related entry point
|
|
#
|
|
# Optional
|
|
# Default: "ingress"
|
|
#
|
|
# entryPoint: ingress
|