You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/k8s-operator
Maisem Ali c8dea67cbf cmd/k8s-operator: add support for Ingress resources
Previously, the operator would only monitor Services and create
a Tailscale StatefulSet which acted as a L3 proxy which proxied
traffic inbound to the Tailscale IP onto the services ClusterIP.

This extends that functionality to also monitor Ingress resources
where the `ingressClassName=tailscale` and similarly creates a
Tailscale StatefulSet, acting as a L7 proxy instead.

Users can override the desired hostname by setting:

```
- tls
  hosts:
  - "foo"
```

Hostnames specified under `rules` are ignored as we only create a single
host. This is emitted as an event for users to see.

Fixes #7895

Signed-off-by: Maisem Ali <maisem@tailscale.com>
1 year ago
..
manifests cmd/k8s-operator: add support for Ingress resources 1 year ago
ingress.go cmd/k8s-operator: add support for Ingress resources 1 year ago
operator.go cmd/k8s-operator: add support for Ingress resources 1 year ago
operator_test.go cmd/k8s-operator: add support for Ingress resources 1 year ago
proxy.go all: adjust some build tags for plan9 1 year ago
proxy_test.go all: adjust some build tags for plan9 1 year ago
sts.go cmd/k8s-operator: add support for Ingress resources 1 year ago
svc.go cmd/k8s-operator: add support for Ingress resources 1 year ago