fix jsonnet error with kube-prometheus > v0.8

kubelet ServiceMonitor moved to kubernetesControlPlane starting from v0.8

Signed-off-by: elvis chan <78713260+elvischan-crypto@users.noreply.github.com>
This commit is contained in:
elvis chan authored and GitHub committed 2022-06-21 09:52:26 +08:00
1 parent 8c31e56462
commit a1c2f4d7e6
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@
},
},
},
prometheus+:: {
kubernetesControlPlane+:: {
serviceMonitorKubelet+: {
spec+: {
endpoints: std.map(function(endpoint)