File tree 3 files changed +3
-9
lines changed
3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 34
34
- e2e-multi-instrumentation
35
35
- e2e-metadata-filters
36
36
include :
37
- - group : e2e-prometheuscr
38
- setup : " prepare-e2e-with-featuregates FEATUREGATES=+operator.observability.prometheus"
39
37
- group : e2e-multi-instrumentation
40
38
setup : " add-operator-arg OPERATOR_ARG=--enable-multi-instrumentation prepare-e2e"
41
39
- group : e2e-metadata-filters
Original file line number Diff line number Diff line change 52
52
pathTypePrefix = networkingv1 .PathTypePrefix
53
53
)
54
54
55
- var (
56
- prometheusFeatureGate = featuregate .PrometheusOperatorIsAvailable .ID ()
57
- )
58
-
59
55
var (
60
56
opampbridgeSelectorLabels = map [string ]string {
61
57
"app.kubernetes.io/managed-by" : "opentelemetry-operator" ,
@@ -1951,7 +1947,7 @@ prometheus_cr:
1951
1947
},
1952
1948
Spec : monitoringv1.ServiceMonitorSpec {
1953
1949
Endpoints : []monitoringv1.Endpoint {
1954
- monitoringv1. Endpoint {Port : "targetallocation" },
1950
+ {Port : "targetallocation" },
1955
1951
},
1956
1952
Selector : v1.LabelSelector {
1957
1953
MatchLabels : map [string ]string {
@@ -1969,7 +1965,7 @@ prometheus_cr:
1969
1965
},
1970
1966
},
1971
1967
wantErr : false ,
1972
- featuregates : []string {prometheusFeatureGate },
1968
+ featuregates : []string {},
1973
1969
},
1974
1970
}
1975
1971
for _ , tt := range tests {
Original file line number Diff line number Diff line change 67
67
// PrometheusOperatorIsAvailable is the feature gate that enables features associated to the Prometheus Operator.
68
68
PrometheusOperatorIsAvailable = featuregate .GlobalRegistry ().MustRegister (
69
69
"operator.observability.prometheus" ,
70
- featuregate .StageAlpha ,
70
+ featuregate .StageBeta ,
71
71
featuregate .WithRegisterDescription ("enables features associated to the Prometheus Operator" ),
72
72
featuregate .WithRegisterFromVersion ("v0.82.0" ),
73
73
)
You can’t perform that action at this time.
0 commit comments