prometheus operator v0.71.2

Prometheus.spec.scrapeConfigNamespaceSelector.matchExpressions.values.spec.web.httpConfig.headers

List of headers that can be added to HTTP responses.

5 fields
Prometheus.spec.scrapeConfigNamespaceSelector.matchExpressions.values.spec.web.httpConfig.headers fields and descriptions
Field / TypeDescription
contentSecurityPolicy
string

Set the Content-Security-Policy header to HTTP responses. Unset if blank.

strictTransportSecurity
string

Set the Strict-Transport-Security header to HTTP responses. Unset if blank. Please make sure that you use this with care as this header might force browsers to load Prometheus and the other applications hosted on the same domain and subdomains over HTTPS. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security

xContentTypeOptions
string

Set the X-Content-Type-Options header to HTTP responses. Unset if blank. Accepted value is nosniff. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options

  • enum: ["","NoSniff"]
xFrameOptions
string

Set the X-Frame-Options header to HTTP responses. Unset if blank. Accepted values are deny and sameorigin. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

  • enum: ["","Deny","SameOrigin"]
xXSSProtection
string

Set the X-XSS-Protection header to all responses. Unset if blank. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection