tailscale/tstest
Irbe Krumina 1a08ea5990
cmd/k8s-operator: operator can create subnetrouter (#9505)
* k8s-operator,cmd/k8s-operator,Makefile,scripts,.github/workflows: add Connector kube CRD.

Connector CRD allows users to configure the Tailscale Kubernetes operator
to deploy a subnet router to expose cluster CIDRs or
other CIDRs available from within the cluster
to their tailnet.

Also adds various CRD related machinery to
generate CRD YAML, deep copy implementations etc.

Engineers will now have to run
'make kube-generate-all` after changing kube files
to ensure that all generated files are up to date.

* cmd/k8s-operator,k8s-operator: reconcile Connector resources

Reconcile Connector resources, create/delete subnetrouter resources in response to changes to Connector(s).

Connector reconciler will not be started unless
ENABLE_CONNECTOR env var is set to true.
This means that users who don't want to use the alpha
Connector custom resource don't have to install the Connector
CRD to their cluster.
For users who do want to use it the flow is:
- install the CRD
- install the operator (via Helm chart or using static manifests).
For Helm users set .values.enableConnector to true, for static
manifest users, set ENABLE_CONNECTOR to true in the static manifest.

Updates tailscale/tailscale#502


Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2023-12-14 13:51:59 +00:00
..
archtest all: update copyright and license headers 2023-01-27 15:36:29 -08:00
deptest tstest/deptest: fix minor escaping error in regex 2023-11-01 16:22:18 -07:00
integration cmd/sniproxy: implement support for control configuration, multiple addresses 2023-10-31 12:19:17 -06:00
iosdeps all: replace deprecated ioutil references 2023-08-23 23:53:19 +01:00
jsdeps tstest/deptest: add test-only package to unify negative dep tests 2023-07-20 23:18:40 -07:00
natlab wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 2023-04-15 13:40:15 -07:00
tools cmd/k8s-operator: operator can create subnetrouter (#9505) 2023-12-14 13:51:59 +00:00
allocs.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
clock_test.go all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 2023-08-17 08:42:35 -07:00
clock.go tstime: add Since method (#8622) 2023-07-14 16:50:17 -04:00
log_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
log.go control/controlclient: remove unused StartLogout 2023-08-30 20:23:03 -07:00
resource.go tstest: make ResourceCheck panic on parallel tests 2023-10-06 19:12:34 -07:00
tstest_test.go tstest: add method to Replace values for tests 2023-03-03 17:02:33 -08:00
tstest.go ipn/{conffile,ipnlocal}: start booting tailscaled from a config file w/ auth key 2023-10-17 07:12:49 -07:00