monitor blackbox-exporter over https
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user