Aliaksandr Valialkin
|
02684a0b29
|
lib/promauth: properly parse string contents for ca, cert and key fields at tls_config
Previously yaml parser wasn't accepting string values for these fields,
because it was mistakenly expecting a list of uint8 values instead.
|
2023-10-26 09:54:18 +02:00 |
|
Aliaksandr Valialkin
|
b6e3c12811
|
lib/promscrape/discovery/kubernetes: use unsupportedFieldError() function instead of errContext string
This improves code readability and maintainability a bit, since the format string
is passed as string literal into fmt.Errorf.
|
2022-06-07 01:24:14 +03:00 |
|
Aliaksandr Valialkin
|
3dbb19d624
|
lib/promscrape/discovery/kubernetes: follow-up after 006b8c7534
- make more clear error logs
- simplify testing for newKubeConfig by passing only the path to kube_config file instead of SDConfig struct
|
2022-06-06 14:41:28 +03:00 |
|
Nikolay
|
72e43ef2fe
|
lib/promscrape/discovery/kubernetes: follow-up after 0b5c874911 (#2672)
|
2022-06-04 01:11:23 +03:00 |
|