monitor blackbox-exporter over https

This commit is contained in:
PÁLFALVI Tamás
2020-12-26 13:13:36 +01:00
parent eda90b6833
commit 66aca04688
3 changed files with 9 additions and 2 deletions

View File

@@ -190,7 +190,7 @@ local kubeRbacProxyContainer = import '../kube-rbac-proxy/container.libsonnet';
labels: bb.assignLabels,
},
spec: {
ports: [{ name: 'http', port: bb.port, targetPort: 'http' }],
ports: [{ name: 'http', port: bb.port, targetPort: 'https' }],
selector: bb.matchLabels,
},
},
@@ -209,6 +209,10 @@ local kubeRbacProxyContainer = import '../kube-rbac-proxy/container.libsonnet';
interval: '30s',
path: '/metrics',
port: 'http',
scheme: 'https',
tlsConfig: {
insecureSkipVerify: true,
},
}],
selector: {
matchLabels: bb.matchLabels,