GoogleCloudPlatform / prometheus-engine

Google Cloud Managed Service for Prometheus libraries and manifests.
https://g.co/cloud/managedprometheus
Apache License 2.0
195 stars 93 forks source link

fix(e2e): start rule-evaluator without auth in e2e tests #894

Closed TheSpiritXIII closed 7 months ago

TheSpiritXIII commented 7 months ago

Adds a new flag to the rule-evaluator --query.debug.disable-auth which mirrors --export.debug.disable-auth but for querying rather than writing.

This flag is then enabled on e2e tests which lets the rule-evaluator start without requiring credentials.

Previously, we hacked this by creating a default credentials file, but this was removed in https://github.com/GoogleCloudPlatform/prometheus-engine/pull/813