k3s/pkg/spegel
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
..
bootstrap.go Bump spegel to v0.0.20-k3s1 (#9863) 2024-04-05 08:43:19 -07:00
registry.go Remove filtering of wildcard mirror entry 2024-03-04 15:11:26 -08:00
spegel.go Refactor supervisor listener startup and add metrics 2024-05-31 09:16:55 -07:00