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
Tom Proctor 4dfed6b146
cmd/{k8s-operator,k8s-proxy}: add kube-apiserver ProxyGroup type (#16266)
Adds a new k8s-proxy command to convert operator's in-process proxy to
a separately deployable type of ProxyGroup: kube-apiserver. k8s-proxy
reads in a new config file written by the operator, modelled on tailscaled's
conffile but with some modifications to ensure multiple versions of the
config can co-exist within a file. This should make it much easier to
support reading that config file from a Kube Secret with a stable file name.

To avoid needing to give the operator ClusterRole{,Binding} permissions,
the helm chart now optionally deploys a new static ServiceAccount for
the API Server proxy to use if in auth mode.

Proxies deployed by kube-apiserver ProxyGroups currently work the same as
the operator's in-process proxy. They do not yet leverage Tailscale Services
for presenting a single HA DNS name.

Updates #13358

Change-Id: Ib6ead69b2173c5e1929f3c13fb48a9a5362195d8
Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
5 months ago
..
deploy cmd/{k8s-operator,k8s-proxy}: add kube-apiserver ProxyGroup type (#16266) 5 months ago
e2e cmd,tsnet,internal/client: create internal shim to deprecated control plane API 10 months ago
generate cmd/k8s-operator,k8s-operator: add ProxyGroup CRD (#13591) 1 year ago
connector.go cmd/k8s-operator: Allow configuration of login server (#16432) 5 months ago
connector_test.go cmd/k8s-operator: remove conffile hashing mechanism (#16335) 6 months ago
depaware.txt cmd/{k8s-operator,k8s-proxy}: add kube-apiserver ProxyGroup type (#16266) 5 months ago
dnsrecords.go cmd/k8s-operator: don't error for transient failures (#14073) 1 year ago
dnsrecords_test.go cmd/k8s-operator: configure proxies for HA Ingress to run in cert share mode (#15308) 9 months ago
egress-eps.go cmd/{k8s-operator,containerboot},kube: ensure egress ProxyGroup proxies don't terminate while cluster traffic is still routed to them (#14436) 10 months ago
egress-eps_test.go go.{mod,sum},cmd/{k8s-operator,derper,stund}/depaware.txt: bump kube deps (#14601) 11 months ago
egress-pod-readiness.go cmd/k8s-operator: configure proxies for HA Ingress to run in cert share mode (#15308) 9 months ago
egress-pod-readiness_test.go cmd/k8s-operator: configure proxies for HA Ingress to run in cert share mode (#15308) 9 months ago
egress-services-readiness.go cmd/{containerboot,k8s-operator}: use state Secret for checking device auth (#16328) 5 months ago
egress-services-readiness_test.go cmd/{containerboot,k8s-operator}: use state Secret for checking device auth (#16328) 5 months ago
egress-services.go cmd/{containerboot,k8s-operator}: use state Secret for checking device auth (#16328) 5 months ago
egress-services_test.go cmd/{k8s-operator,containerboot},kube: ensure egress ProxyGroup proxies don't terminate while cluster traffic is still routed to them (#14436) 10 months ago
ingress-for-pg.go cmd/{k8s-operator,k8s-proxy}: add kube-apiserver ProxyGroup type (#16266) 5 months ago
ingress-for-pg_test.go cmd/{k8s-operator,k8s-proxy}: add kube-apiserver ProxyGroup type (#16266) 5 months ago
ingress.go cmd/k8s-operator: Allow custom ingress class names (#16472) 5 months ago
ingress_test.go cmd/k8s-operator: Allow custom ingress class names (#16472) 5 months ago
metrics_resources.go cmd/k8s-operator: configure proxies for HA Ingress to run in cert share mode (#15308) 9 months ago
nameserver.go cmd/k8s-operator: ensure status update errors are displayed to users (#16251) 6 months ago
nameserver_test.go go.{mod,sum},cmd/{k8s-operator,derper,stund}/depaware.txt: bump kube deps (#14601) 11 months ago
nodeport-service-ports.go cmd/k8s-operator, k8s-operator: support Static Endpoints on ProxyGroups (#16115) 5 months ago
nodeport-services-ports_test.go cmd/k8s-operator, k8s-operator: support Static Endpoints on ProxyGroups (#16115) 5 months ago
operator.go cmd/{k8s-operator,k8s-proxy}: add kube-apiserver ProxyGroup type (#16266) 5 months ago
operator_test.go cmd/k8s-operator: Allow custom ingress class names (#16472) 5 months ago
proxy.go cmd/{k8s-operator,k8s-proxy}: add kube-apiserver ProxyGroup type (#16266) 5 months ago
proxyclass.go cmd/k8s-operator, k8s-operator: support Static Endpoints on ProxyGroups (#16115) 5 months ago
proxyclass_test.go cmd/k8s-operator, k8s-operator: support Static Endpoints on ProxyGroups (#16115) 5 months ago
proxygroup.go cmd/{k8s-operator,k8s-proxy}: add kube-apiserver ProxyGroup type (#16266) 5 months ago
proxygroup_specs.go cmd/{k8s-operator,k8s-proxy}: add kube-apiserver ProxyGroup type (#16266) 5 months ago
proxygroup_test.go cmd/{k8s-operator,k8s-proxy}: add kube-apiserver ProxyGroup type (#16266) 5 months ago
sts.go cmd/{k8s-operator,k8s-proxy}: add kube-apiserver ProxyGroup type (#16266) 5 months ago
sts_test.go cmd/k8s-operator: configure proxies for HA Ingress to run in cert share mode (#15308) 9 months ago
svc-for-pg.go cmd/{k8s-operator,k8s-proxy}: add kube-apiserver ProxyGroup type (#16266) 5 months ago
svc-for-pg_test.go cmd/{k8s-operator,k8s-proxy}: add kube-apiserver ProxyGroup type (#16266) 5 months ago
svc.go cmd/k8s-operator: Allow configuration of login server (#16432) 5 months ago
testutils_test.go cmd/k8s-operator: remove conffile hashing mechanism (#16335) 6 months ago
tsclient.go cmd/k8s-operator: Allow configuration of login server (#16432) 5 months ago
tsrecorder.go cmd/k8s-operator: Set login server on tsrecorder nodes (#16443) 5 months ago
tsrecorder_specs.go cmd/k8s-operator: Set login server on tsrecorder nodes (#16443) 5 months ago
tsrecorder_specs_test.go cmd/k8s-operator: Set login server on tsrecorder nodes (#16443) 5 months ago
tsrecorder_test.go cmd/k8s-operator: Set login server on tsrecorder nodes (#16443) 5 months ago