Fix Promethes operator metrics provider detection (#6150)

This commit is contained in:
Lauri Nevala authored and Sebastian Malton committed 2022-09-06 10:12:33 -04:00
1 parent b9995bb878
commit 51df7232c1
1 file changed
+1 -1
+1 -1
View File
@@ -15,7 +15,7 @@ export class PrometheusOperator extends PrometheusProvider {
readonly isConfigurable: boolean = true;
public async getPrometheusService(client: CoreV1Api): Promise<PrometheusService> {
return this.getFirstNamespacedService(client, "operated-prometheus=true", "self-monitor=true");
return this.getFirstNamespacedService(client, "operated-prometheus=true");
}
public getQuery(opts: Record<string, string>, queryName: string): string {