You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see there is single quotes around the Proxy-Authorization value. From what I can see in the Prometheus documentation they should not be there.
Also prometheus is telling me that he can't load the configuration because he cannot unmarshal a "!!str" into []config.Secret which seems logical here.
Can you help me here ? Is this a bug or am I misusing something ?
What happened?
Description
Hi,
I am trying to use the proxyConnectHeader field in ScrapeConfig object but prometheus doesn't like the generated output configuration.
I am using a secret named squid-user wich contains this data:
This secret is generated via External Secret.
My ScrapeConfig object look like this:
This output this config in Prometheus Operator:
As you can see there is single quotes around the Proxy-Authorization value. From what I can see in the Prometheus documentation they should not be there.
Also prometheus is telling me that he can't load the configuration because he cannot unmarshal a "!!str" into []config.Secret which seems logical here.
Can you help me here ? Is this a bug or am I misusing something ?
Steps to Reproduce
Use a secret with this value:
Use this Scrape Config:
Expected Result
Prometheus configuration should look like this:
Actual Result
Actual result of prom config is this:
Prometheus Operator Version
Kubernetes Version
v1.28.6-eks-508b6b3
Kubernetes Cluster Type
EKS
How did you deploy Prometheus-Operator?
helm chart:prometheus-community/kube-prometheus-stack
Manifests
No response
prometheus-operator log output
Anything else?
No response
The text was updated successfully, but these errors were encountered: