mirror of
https://github.com/tailscale/tailscale.git
synced 2025-06-28 19:18:40 +00:00
k8s-operator: starting network proxy ha mode
Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk>
This commit is contained in:
parent
c28fda864a
commit
48c0dc6e39
1059
cmd/k8s-operator/svc-for-pg.go
Normal file
1059
cmd/k8s-operator/svc-for-pg.go
Normal file
File diff suppressed because it is too large
Load Diff
20
kube/ingresservices/ingressservices.go
Normal file
20
kube/ingresservices/ingressservices.go
Normal 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"`
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user