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
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>
12 months ago
..
deploy cmd/k8s-operator: operator can create subnetrouter (#9505) 12 months ago
generate cmd/k8s-operator: generate static kube manifests from the Helm chart. (#10436) 12 months ago
connector.go cmd/k8s-operator: operator can create subnetrouter (#9505) 12 months ago
connector_test.go cmd/k8s-operator: operator can create subnetrouter (#9505) 12 months ago
ingress.go cmd/k8s-operator: allow setting same host value for tls and ingress rules 1 year ago
operator.go cmd/k8s-operator: operator can create subnetrouter (#9505) 12 months ago
operator_test.go cmd/k8s-operator: operator can create subnetrouter (#9505) 12 months ago
proxy.go cmd/k8s-operator: drop https:// in capName 12 months ago
proxy_test.go cmd/k8s-operator: log user/group impersonated by apiserver proxy (#10334) 1 year ago
sts.go cmd/k8s-operator: operator can create subnetrouter (#9505) 12 months ago
sts_test.go cmd/k8s-operator: truncate long StatefulSet name prefixes (#10343) 1 year ago
svc.go cmd/{containerboot,k8s-operator}: allow users to define tailnet egress target by FQDN (#10360) 1 year ago