mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 06:45:27 +01:00
change: define enableFeatures list as a set
It allows different actors to manipulate the list of enabled features using server-side apply. Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
@@ -285,7 +285,7 @@ func (prwtc PromRemoteWriteTestConfig) AddRemoteWriteWithTLSToPrometheus(p *moni
|
||||
}
|
||||
|
||||
func (f *Framework) EnableRemoteWriteReceiverWithTLS(p *monitoringv1.Prometheus) {
|
||||
p.Spec.EnableFeatures = []string{"remote-write-receiver"}
|
||||
p.Spec.EnableFeatures = []monitoringv1.EnableFeature{"remote-write-receiver"}
|
||||
|
||||
p.Spec.Web = &monitoringv1.PrometheusWebSpec{
|
||||
WebConfigFileFields: monitoringv1.WebConfigFileFields{
|
||||
|
||||
Reference in New Issue
Block a user