File tree 3 files changed +4
-8
lines changed
3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 35
35
- e2e-metadata-filters
36
36
include :
37
37
- group : e2e-prometheuscr
38
- setup : " prepare-e2e-with-featuregates FEATUREGATES=+operator.observability.prometheus "
38
+ setup : " prepare-e2e-with-featuregates"
39
39
- group : e2e-multi-instrumentation
40
40
setup : " add-operator-arg OPERATOR_ARG=--enable-multi-instrumentation prepare-e2e"
41
41
- 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" ,
@@ -1946,7 +1942,7 @@ prometheus_cr:
1946
1942
},
1947
1943
Spec : monitoringv1.ServiceMonitorSpec {
1948
1944
Endpoints : []monitoringv1.Endpoint {
1949
- monitoringv1. Endpoint {Port : "targetallocation" },
1945
+ {Port : "targetallocation" },
1950
1946
},
1951
1947
Selector : v1.LabelSelector {
1952
1948
MatchLabels : map [string ]string {
@@ -1964,7 +1960,7 @@ prometheus_cr:
1964
1960
},
1965
1961
},
1966
1962
wantErr : false ,
1967
- featuregates : []string {prometheusFeatureGate },
1963
+ featuregates : []string {},
1968
1964
},
1969
1965
}
1970
1966
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