prometheus/discovery/kubernetes
Julius Volz 5cf0113762
Add "omitempty" to some SD config YAML field tags (#4338)
Especially for Kubernetes SD, this fixes a bug where the rendered
configuration says "api_server: null", which when read back is not
interpreted as an un-set API server (thus the default is not applied).

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2018-07-03 13:43:41 +02:00
..
endpoints.go Merge branch 'release-2.2' 2018-04-30 14:38:29 +02:00
endpoints_test.go kubernetes_sd: fix namespace filtering (#4273) 2018-06-15 09:08:14 +01:00
ingress.go Simplify some code and comments. 2018-04-25 19:29:34 +02:00
ingress_test.go kubernetes_sd: fix namespace filtering (#4273) 2018-06-15 09:08:14 +01:00
kubernetes.go Add "omitempty" to some SD config YAML field tags (#4338) 2018-07-03 13:43:41 +02:00
kubernetes_test.go Simplify some code and comments. 2018-04-25 19:29:34 +02:00
node.go Simplify some code and comments. 2018-04-25 19:29:34 +02:00
node_test.go Refactor Kubernetes Discovery Part 2: Refactoring 2018-04-25 19:28:34 +02:00
pod.go Expose controller kind and name to labelling rules 2018-05-09 11:51:37 +02:00
pod_test.go kubernetes_sd: fix namespace filtering (#4273) 2018-06-15 09:08:14 +01:00
service.go Simplify some code and comments. 2018-04-25 19:29:34 +02:00
service_test.go kubernetes_sd: fix namespace filtering (#4273) 2018-06-15 09:08:14 +01:00