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 2d1f6f18cc
cmd/k8s-operator: require namespace config (#14648)
Most users should not run into this because it's set in the helm chart
and the deploy manifest, but if namespace is not set we get confusing
authz errors because the kube client tries to fetch some namespaced resources
as though they're cluster-scoped and reports permission denied. Try to
detect namespace from the default projected volume, and otherwise fatal.

Fixes #cleanup

Change-Id: I64b34191e440b61204b9ad30bbfa117abbbe09c3

Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
11 months ago
..
deploy cmd/k8s-operator,k8s-operator: allow users to set custom labels for the optional ServiceMonitor (#14475) 11 months ago
e2e cmd/k8s-operator,k8s-operator: operator integration tests (#12792) 12 months ago
generate cmd/k8s-operator,k8s-operator: add ProxyGroup CRD (#13591) 1 year ago
connector.go cmd/k8s-operator: don't error for transient failures (#14073) 1 year ago
connector_test.go cmd/k8s-operator,k8s-operator: allow users to set custom labels for the optional ServiceMonitor (#14475) 11 months ago
depaware.txt atomicfile: use ReplaceFile on Windows so that attributes and ACLs are preserved 11 months ago
dnsrecords.go cmd/k8s-operator: don't error for transient failures (#14073) 1 year ago
dnsrecords_test.go cmd/k8s-operator: fix DNS reconciler for dual-stack clusters (#13057) 1 year ago
egress-eps.go cmd/k8s-operator: fix Pod IP selection (#13743) 1 year ago
egress-eps_test.go cmd/k8s-operator: fix Pod IP selection (#13743) 1 year ago
egress-services-readiness.go cmd/k8s-operator: fix a bunch of status equality checks (#14270) 1 year ago
egress-services-readiness_test.go cmd/k8s-operator,k8s-operator/apis: set a readiness condition on egress Services for ProxyGroup (#13746) 1 year ago
egress-services.go cmd/k8s-operator,k8s-operator: support ingress ProxyGroup type (#14548) 11 months ago
egress-services_test.go cmd/k8s-operator: fix port name change bug for egress ProxyGroup proxies (#14247) 1 year ago
ingress.go cmd/k8s-operator: don't error for transient failures (#14073) 1 year ago
ingress_test.go cmd/k8s-operator,k8s-operator: allow users to set custom labels for the optional ServiceMonitor (#14475) 11 months ago
metrics_resources.go cmd/k8s-operator,k8s-operator: allow users to set custom labels for the optional ServiceMonitor (#14475) 11 months ago
nameserver.go cmd/k8s-operator: don't error for transient failures (#14073) 1 year ago
nameserver_test.go cmd/k8s-operator,k8s-operator,kube: Add TSRecorder CRD + controller (#13299) 1 year ago
operator.go cmd/k8s-operator: require namespace config (#14648) 11 months ago
operator_test.go cmd/containerboot,cmd/k8s-operator: reload tailscaled config (#14342) 11 months ago
proxy.go all: fix golangci-lint errors 11 months ago
proxy_test.go cmd/k8s-operator,ssh/tailssh,tsnet: optionally record 'kubectl exec' sessions via Kubernetes operator's API server proxy (#12274) 1 year ago
proxyclass.go cmd/k8s-operator,k8s-operator: allow users to set custom labels for the optional ServiceMonitor (#14475) 11 months ago
proxyclass_test.go cmd/k8s-operator,k8s-operator: allow users to set custom labels for the optional ServiceMonitor (#14475) 11 months ago
proxygroup.go cmd/containerboot,cmd/k8s-operator: reload tailscaled config (#14342) 11 months ago
proxygroup_specs.go cmd/containerboot,cmd/k8s-operator: reload tailscaled config (#14342) 11 months ago
proxygroup_test.go cmd/containerboot,cmd/k8s-operator: reload tailscaled config (#14342) 11 months ago
sts.go cmd/containerboot,cmd/k8s-operator: reload tailscaled config (#14342) 11 months ago
sts_test.go cmd/k8s-operator,k8s-operator: allow users to set custom labels for the optional ServiceMonitor (#14475) 11 months ago
svc.go cmd/k8s-operator: don't error for transient failures (#14073) 1 year ago
testutils_test.go cmd/containerboot,cmd/k8s-operator: reload tailscaled config (#14342) 11 months ago
tsrecorder.go cmd/k8s-operator: don't error for transient failures (#14073) 1 year ago
tsrecorder_specs.go cmd/k8s-operator,kube/kubeclient,docs/k8s: update rbac to emit events + small fixes (#14164) 1 year ago
tsrecorder_specs_test.go cmd/k8s-operator,k8s-operator,kube: Add TSRecorder CRD + controller (#13299) 1 year ago
tsrecorder_test.go cmd/{containerboot,k8s-operator},k8s-operator,kube: add ProxyGroup controller (#13684) 1 year ago