From 1b3aa83a91c5ecadc39bda488d4d74ce8c3d9aa4 Mon Sep 17 00:00:00 2001 From: Toni Tauro Date: Tue, 2 Apr 2024 11:03:56 +0200 Subject: [PATCH] Update test/unit/prometheus-servicemonitor.bats Co-authored-by: Tom Proctor --- test/unit/prometheus-servicemonitor.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/prometheus-servicemonitor.bats b/test/unit/prometheus-servicemonitor.bats index 4da555af2..290733eb7 100755 --- a/test/unit/prometheus-servicemonitor.bats +++ b/test/unit/prometheus-servicemonitor.bats @@ -152,7 +152,7 @@ load _helpers --set 'serverTelemetry.serviceMonitor.enabled=true' \ . ) | tee /dev/stderr) - [ "$(echo "$output" | yq -r '.spec.endpoints[0] | has("bearerToken")')" = "false" ] + [ "$(echo "$output" | yq -r '.spec.endpoints[0] | has("bearerTokenFile")')" = "false" ] } @test "prometheus/ServiceMonitor-server: bearerTokenFile set" {