Skip to content

Commit 96e77c5

Browse files
committed
Implement secure metrics serving
1 parent 56a973c commit 96e77c5

File tree

5 files changed

+651
-6
lines changed

5 files changed

+651
-6
lines changed

go.mod

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ require (
2020
k8s.io/api v0.28.0-alpha.3
2121
k8s.io/apiextensions-apiserver v0.28.0-alpha.3
2222
k8s.io/apimachinery v0.28.0-alpha.3
23+
k8s.io/apiserver v0.28.0-alpha.3
2324
k8s.io/client-go v0.28.0-alpha.3
2425
k8s.io/component-base v0.28.0-alpha.3
2526
k8s.io/klog/v2 v2.100.1
@@ -28,22 +29,35 @@ require (
2829
)
2930

3031
require (
32+
github.com/NYTimes/gziphandler v1.1.1 // indirect
33+
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df // indirect
34+
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a // indirect
3135
github.com/beorn7/perks v1.0.1 // indirect
36+
github.com/blang/semver/v4 v4.0.0 // indirect
37+
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
3238
github.com/cespare/xxhash/v2 v2.2.0 // indirect
39+
github.com/coreos/go-semver v0.3.1 // indirect
40+
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
3341
github.com/davecgh/go-spew v1.1.1 // indirect
3442
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
43+
github.com/felixge/httpsnoop v1.0.3 // indirect
44+
github.com/go-logr/stdr v1.2.2 // indirect
3545
github.com/go-openapi/jsonpointer v0.19.6 // indirect
3646
github.com/go-openapi/jsonreference v0.20.2 // indirect
3747
github.com/go-openapi/swag v0.22.3 // indirect
3848
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
3949
github.com/gogo/protobuf v1.3.2 // indirect
4050
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
4151
github.com/golang/protobuf v1.5.3 // indirect
52+
github.com/google/cel-go v0.16.0 // indirect
4253
github.com/google/gnostic-models v0.6.8 // indirect
4354
github.com/google/gofuzz v1.2.0 // indirect
4455
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
4556
github.com/google/uuid v1.3.0 // indirect
57+
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
58+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0 // indirect
4659
github.com/imdario/mergo v0.3.6 // indirect
60+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
4761
github.com/josharian/intern v1.0.0 // indirect
4862
github.com/json-iterator/go v1.1.12 // indirect
4963
github.com/mailru/easyjson v0.7.7 // indirect
@@ -54,21 +68,46 @@ require (
5468
github.com/pkg/errors v0.9.1 // indirect
5569
github.com/prometheus/common v0.42.0 // indirect
5670
github.com/prometheus/procfs v0.10.1 // indirect
71+
github.com/spf13/cobra v1.7.0 // indirect
5772
github.com/spf13/pflag v1.0.5 // indirect
73+
github.com/stoewer/go-strcase v1.2.0 // indirect
74+
go.etcd.io/etcd/api/v3 v3.5.9 // indirect
75+
go.etcd.io/etcd/client/pkg/v3 v3.5.9 // indirect
76+
go.etcd.io/etcd/client/v3 v3.5.9 // indirect
77+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.35.0 // indirect
78+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.35.1 // indirect
79+
go.opentelemetry.io/otel v1.10.0 // indirect
80+
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.10.0 // indirect
81+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.10.0 // indirect
82+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.10.0 // indirect
83+
go.opentelemetry.io/otel/metric v0.31.0 // indirect
84+
go.opentelemetry.io/otel/sdk v1.10.0 // indirect
85+
go.opentelemetry.io/otel/trace v1.10.0 // indirect
86+
go.opentelemetry.io/proto/otlp v0.19.0 // indirect
5887
go.uber.org/atomic v1.10.0 // indirect
5988
go.uber.org/multierr v1.11.0 // indirect
89+
golang.org/x/crypto v0.6.0 // indirect
90+
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
6091
golang.org/x/net v0.10.0 // indirect
6192
golang.org/x/oauth2 v0.6.0 // indirect
93+
golang.org/x/sync v0.2.0 // indirect
6294
golang.org/x/term v0.8.0 // indirect
6395
golang.org/x/text v0.9.0 // indirect
6496
golang.org/x/time v0.3.0 // indirect
6597
golang.org/x/tools v0.9.3 // indirect
6698
google.golang.org/appengine v1.6.7 // indirect
99+
google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54 // indirect
100+
google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9 // indirect
101+
google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 // indirect
102+
google.golang.org/grpc v1.54.0 // indirect
67103
google.golang.org/protobuf v1.30.0 // indirect
68104
gopkg.in/inf.v0 v0.9.1 // indirect
105+
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
69106
gopkg.in/yaml.v2 v2.4.0 // indirect
70107
gopkg.in/yaml.v3 v3.0.1 // indirect
108+
k8s.io/kms v0.28.0-alpha.3 // indirect
71109
k8s.io/kube-openapi v0.0.0-20230601164746-7562a1006961 // indirect
110+
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.1.2 // indirect
72111
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
73112
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
74113
)

0 commit comments

Comments
 (0)