VictoriaMetrics/lib/promscrape/discovery/kubernetes
Aliaksandr Valialkin 123aa4c79e
lib/promscrape: properly implement ScrapeConfig.clone()
Previously ScrapeConfig.clone() was improperly copying promauth.Secret fields -
their contents was replaced with `<secret>` value.

This led to inability to use passwords and secrets in `-promscrape.config` file.
The bug has been introduced in v1.77.0 in the commit 67b10896d2

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2551
2022-05-07 00:05:40 +03:00
..
api_watcher_test.go
api_watcher.go lib/promscrape: properly implement ScrapeConfig.clone() 2022-05-07 00:05:40 +03:00
api.go
common_types.go
endpoints_test.go lib/promscrape/discovery/kubernetes: allow attaching node-level labels and annotations to discovered pod targets in the same way as Prometheus 2.35 does 2022-04-22 20:15:41 +03:00
endpoints.go lib/promscrape/discovery/kubernetes: do not drop pod meta-labels even if the corresponding node objects are missing 2022-04-26 15:26:01 +03:00
endpointslice_test.go
endpointslice.go lib/promscrape/discovery/kubernetes: do not drop pod meta-labels even if the corresponding node objects are missing 2022-04-26 15:26:01 +03:00
ingress_test.go
ingress.go
kubernetes.go lib/promscrape/discovery/kubernetes: allow attaching node-level labels and annotations to discovered pod targets in the same way as Prometheus 2.35 does 2022-04-22 20:15:41 +03:00
node_test.go lib/promscrape/discovery/kubernetes: allow attaching node-level labels and annotations to discovered pod targets in the same way as Prometheus 2.35 does 2022-04-22 20:15:41 +03:00
node.go
pod_test.go lib/promscrape/discovery/kubernetes: allow attaching node-level labels and annotations to discovered pod targets in the same way as Prometheus 2.35 does 2022-04-22 20:15:41 +03:00
pod.go lib/promscrape/discovery/kubernetes: do not drop pod meta-labels even if the corresponding node objects are missing 2022-04-26 15:26:01 +03:00
service_test.go
service.go