Removes more Wild Cloud cruft.
This commit is contained in:
@@ -84,14 +84,6 @@ type GenerateOpts struct {
|
||||
CertsDir string // directory containing per-domain PEM files for L7 TLS
|
||||
}
|
||||
|
||||
// Generate creates a complete HAProxy configuration from instance routes, custom routes,
|
||||
// and optional config. Uses L4 TCP mode with SNI inspection for HTTPS —
|
||||
// TLS terminates at each k8s cluster's traefik. HTTP routes add an L7 frontend
|
||||
// where Central terminates TLS with a wildcard cert and reverse-proxies by Host header.
|
||||
func (m *Manager) Generate(instances []L4Route, custom []CustomRoute, centralDomain ...string) string {
|
||||
return m.GenerateWithOpts(instances, custom, GenerateOpts{})
|
||||
}
|
||||
|
||||
// GenerateWithOpts creates a complete HAProxy configuration with full options.
|
||||
func (m *Manager) GenerateWithOpts(instances []L4Route, custom []CustomRoute, opts GenerateOpts) string {
|
||||
var sb strings.Builder
|
||||
|
||||
Reference in New Issue
Block a user