Closed fdaguin closed 3 months ago
Fixes the issue shared through https://github.com/GoogleCloudPlatform/prometheus-engine/pull/776#issuecomment-2087606662.
The current implementation only supports a PodMonitoring selecting a Secret from the default namespace.
default
The existing E2E test cases were using a Secret deployed inside the default namespace therefore not covering this "edge" case:
https://github.com/GoogleCloudPlatform/prometheus-engine/blob/f21c2ba4c0a9c3108209c1e59ec75d52e388235e/e2e/authorization_test.go#L96-L177
Thank you for your detailed feedback @TheSpiritXIII 🙏
Fixes the issue shared through https://github.com/GoogleCloudPlatform/prometheus-engine/pull/776#issuecomment-2087606662.
The current implementation only supports a PodMonitoring selecting a Secret from the
default
namespace.The existing E2E test cases were using a Secret deployed inside the
default
namespace therefore not covering this "edge" case:https://github.com/GoogleCloudPlatform/prometheus-engine/blob/f21c2ba4c0a9c3108209c1e59ec75d52e388235e/e2e/authorization_test.go#L96-L177