k3s/pkg/util
Brad Davidson 7ef30a2c60 Refactor supervisor listener startup and add metrics
* Refactor agent supervisor listener startup and authn/authz to use upstream
  auth delegators to perform for SubjectAccessReview for access to
  metrics.
* Convert spegel and pprof handlers over to new structure.
* Promote bind-address to agent flag to allow setting supervisor bind
  address for both agent and server.
* Promote enable-pprof to agent flag to allow profiling agents. Access
  to the pprof endpoint now requires client cert auth, similar to the
  spegel registry api endpoint.
* Add prometheus metrics handler.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit ff679fb3ab)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2024-05-31 09:16:55 -07:00
..
services Add supervisor cert/key to rotate list 2024-04-05 10:59:17 -07:00
api.go Check for RBAC before starting tunnel controllers 2022-10-26 15:08:13 -07:00
apierrors.go Don't log 'apiserver disabled' error sent by etcd-only nodes 2024-04-09 15:36:33 -07:00
cert.go Add support for cross-signing new certs during ca rotation 2023-03-13 16:56:28 -07:00
client.go Use distinct clients for supervisor, deploy, and helm controllers 2023-05-30 18:15:11 -07:00
client_test.go Handle multiple arguments with StringSlice flags (#7380) 2023-05-02 09:55:48 -07:00
command.go VPN PoC 2023-06-09 12:39:33 +02:00
errors.go
file.go Review comments and fixes 2023-08-25 14:17:00 -06:00
gates.go
gates_test.go
labels.go Add FilterCN function to prevent SAN Stuffing 2023-08-02 11:15:39 -07:00
net.go Refactor supervisor listener startup and add metrics 2024-05-31 09:16:55 -07:00
net_test.go
net_unix.go Refactor supervisor listener startup and add metrics 2024-05-31 09:16:55 -07:00
net_windows.go Refactor supervisor listener startup and add metrics 2024-05-31 09:16:55 -07:00
reflect.go
token.go Add server token hash to CR and S3 2023-10-12 15:04:45 -07:00