mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
Add docs, tests, and move namespaced to metricsQuery
This commit is contained in:
parent
3ae38c7417
commit
510c3724ce
7 changed files with 158 additions and 19 deletions
|
|
@ -58,7 +58,7 @@ type ResourceMapping struct {
|
|||
// Overrides specifies exceptions to the above template, mapping label names
|
||||
// to group-resources
|
||||
Overrides map[string]GroupResource `json:"overrides,omitempty" yaml:"overrides,omitempty"`
|
||||
//Namespaced ignores the source namespace of the requester and requires one in the query
|
||||
// Namespaced ignores the source namespace of the requester and requires one in the query
|
||||
Namespaced *bool `json:"namespaced,omitempty" yaml:"namespaced,omitempty"`
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue