Skip to content

Commit 49eb988

Browse files
committed
Set tenancy by creating new PrometheusRule obj for Thanos Operator
Signed-off-by: Saswata Mukherjee <[email protected]>
1 parent 49eea20 commit 49eb988

File tree

6 files changed

+113
-76
lines changed

6 files changed

+113
-76
lines changed

go.mod

+15-8
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ require (
1212
github.com/observatorium/api v0.1.3-0.20221005180515-c3230526775b
1313
github.com/observatorium/obsctl v0.1.0-rc.0.0.20230616134804-751b92bac586
1414
github.com/oklog/run v1.1.0
15+
github.com/prometheus-community/prom-label-proxy v0.3.1-0.20210623095334-9d425172d7bb
1516
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.57.0
1617
github.com/prometheus/client_golang v1.14.0
17-
github.com/prometheus/prometheus v1.8.2-0.20220303173753-edfe657b5405
1818
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df
1919
gopkg.in/yaml.v3 v3.0.1
2020
k8s.io/api v0.26.3
@@ -24,23 +24,31 @@ require (
2424
)
2525

2626
require (
27+
github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef // indirect
2728
github.com/beorn7/perks v1.0.1 // indirect
2829
github.com/cespare/xxhash/v2 v2.1.2 // indirect
2930
github.com/coreos/go-oidc/v3 v3.2.0 // indirect
3031
github.com/davecgh/go-spew v1.1.1 // indirect
3132
github.com/deepmap/oapi-codegen v1.11.0 // indirect
32-
github.com/edsrzf/mmap-go v1.1.0 // indirect
33+
github.com/efficientgo/tools/core v0.0.0-20220225185207-fe763185946b // indirect
3334
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
3435
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
3536
github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32 // indirect
3637
github.com/go-logfmt/logfmt v0.5.1 // indirect
3738
github.com/go-logr/logr v1.2.3 // indirect
39+
github.com/go-openapi/analysis v0.20.0 // indirect
40+
github.com/go-openapi/errors v0.20.0 // indirect
3841
github.com/go-openapi/jsonpointer v0.19.5 // indirect
3942
github.com/go-openapi/jsonreference v0.20.0 // indirect
43+
github.com/go-openapi/loads v0.20.2 // indirect
44+
github.com/go-openapi/runtime v0.19.28 // indirect
45+
github.com/go-openapi/spec v0.20.3 // indirect
46+
github.com/go-openapi/strfmt v0.20.1 // indirect
4047
github.com/go-openapi/swag v0.21.1 // indirect
48+
github.com/go-openapi/validate v0.20.2 // indirect
49+
github.com/go-stack/stack v1.8.0 // indirect
4150
github.com/gogo/protobuf v1.3.2 // indirect
4251
github.com/golang/protobuf v1.5.2 // indirect
43-
github.com/golang/snappy v0.0.4 // indirect
4452
github.com/google/gnostic v0.5.7-v3refs // indirect
4553
github.com/google/go-cmp v0.5.9 // indirect
4654
github.com/google/gofuzz v1.2.0 // indirect
@@ -50,22 +58,21 @@ require (
5058
github.com/json-iterator/go v1.1.12 // indirect
5159
github.com/mailru/easyjson v0.7.7 // indirect
5260
github.com/matttproud/golang_protobuf_extensions v1.0.2 // indirect
61+
github.com/mitchellh/mapstructure v1.5.0 // indirect
5362
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
5463
github.com/modern-go/reflect2 v1.0.2 // indirect
5564
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
5665
github.com/oklog/ulid v1.3.1 // indirect
5766
github.com/opentracing/opentracing-go v1.2.0 // indirect
5867
github.com/pkg/errors v0.9.1 // indirect
59-
github.com/pmezard/go-difflib v1.0.0 // indirect
68+
github.com/prometheus/alertmanager v0.22.2 // indirect
6069
github.com/prometheus/client_model v0.3.0 // indirect
6170
github.com/prometheus/common v0.37.0 // indirect
6271
github.com/prometheus/procfs v0.8.0 // indirect
72+
github.com/prometheus/prometheus v1.8.2-0.20220303173753-edfe657b5405 // indirect
6373
github.com/spf13/pflag v1.0.5 // indirect
64-
github.com/stretchr/testify v1.8.2 // indirect
65-
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
66-
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
74+
go.mongodb.org/mongo-driver v1.5.1 // indirect
6775
go.uber.org/atomic v1.9.0 // indirect
68-
go.uber.org/goleak v1.2.0 // indirect
6976
golang.org/x/crypto v0.1.0 // indirect
7077
golang.org/x/net v0.7.0 // indirect
7178
golang.org/x/oauth2 v0.0.0-20220718184931-c8730f7fcb92 // indirect

0 commit comments

Comments
 (0)