k8s-operator: starting network proxy ha mode

Signed-off-by: chaosinthecrd <[email protected]>
This commit is contained in:
chaosinthecrd committed 2025-04-23 17:14:15 +01:00
1 parent c28fda864a
commit 48c0dc6e39
2 files changed
+1079

No files matched your search

File diff suppressed because it is too large. Load diff
+20
View File
@@ -0,0 +1,20 @@
package ingressservices
import "net/netip"
const (
IngressConfigKey = "ingress-config.json"
)
// Configs contains the desired configuration for egress services keyed by
// service name.
type Configs map[string]Config
type Mapping map[netip.Addr]netip.Addr
// Config is an ingress service configuration.
type Config struct {
VIPServiceIP netip.Addr `json:"vipServiceIP"`
IPv4Mapping Mapping `json:"IPv4Mapping"`
IPv6Mapping Mapping `json:"IPv6Mapping"`
}