tailscale/cmd/k8s-operator
Irbe Krumina d0492fdee5
cmd/k8s-operator: adds a tailscale IngressClass resource, prints warning if class not found. (#10823)
* cmd/k8s-operator/deploy: deploy a Tailscale IngressClass resource.

Some Ingress validating webhooks reject Ingresses with
.spec.ingressClassName for which there is no matching IngressClass.

Additionally, validate that the expected IngressClass is present,
when parsing a tailscale `Ingress`. 
We currently do not utilize the IngressClass,
however we might in the future at which point
we might start requiring that the right class
for this controller instance actually exists.

Updates tailscale/tailscale#10820

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
Co-authored-by: Anton Tolchanov <anton@tailscale.com>
2024-01-16 12:48:15 +00:00
..
deploy cmd/k8s-operator: adds a tailscale IngressClass resource, prints warning if class not found. (#10823) 2024-01-16 12:48:15 +00:00
generate cmd/k8s-operator: add Connector CRD to Helm chart and static manifests (#10775) 2024-01-10 14:20:22 +00:00
connector_test.go cmd/k8s-operator,k8s-operator: allow the operator to deploy exit nodes via Connector custom resource (#10724) 2024-01-09 14:13:22 +00:00
connector.go cmd/k8s-operator,k8s-operator: allow the operator to deploy exit nodes via Connector custom resource (#10724) 2024-01-09 14:13:22 +00:00
ingress.go cmd/k8s-operator: adds a tailscale IngressClass resource, prints warning if class not found. (#10823) 2024-01-16 12:48:15 +00:00
operator_test.go cmd/k8s-operator,k8s-operator: allow the operator to deploy exit nodes via Connector custom resource (#10724) 2024-01-09 14:13:22 +00:00
operator.go cmd/k8s-operator: adds a tailscale IngressClass resource, prints warning if class not found. (#10823) 2024-01-16 12:48:15 +00:00
proxy_test.go cmd/k8s-operator: log user/group impersonated by apiserver proxy (#10334) 2023-11-20 15:41:18 +00:00
proxy.go cmd/k8s-operator: drop https:// in capName 2023-12-12 02:15:18 +05:00
sts_test.go cmd/k8s-operator: minor fix in name gen (#10830) 2024-01-12 10:08:22 +00:00
sts.go cmd/k8s-operator: minor fix in name gen (#10830) 2024-01-12 10:08:22 +00:00
svc.go cmd/{containerboot,k8s-operator}: allow users to define tailnet egress target by FQDN (#10360) 2023-11-24 16:24:48 +00:00
testutils_test.go cmd/k8s-operator,k8s-operator: allow the operator to deploy exit nodes via Connector custom resource (#10724) 2024-01-09 14:13:22 +00:00