Skip to content

Commit 7b2a9fb

Browse files
authored
Merge pull request #1734 from ArthurSens/as/fix-pyrra-prom-ns
addons/pyrra: Fix prometheus namespace connection
2 parents bac6b27 + d1bcab5 commit 7b2a9fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonnet/kube-prometheus/addons/pyrra.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
args: [
7474
'api',
7575
'--api-url=http://%s.%s.svc.cluster.local:9444' % [pyrra.kubernetesService.metadata.name, pyrra.kubernetesService.metadata.namespace],
76-
'--prometheus-url=http://prometheus-k8s.monitoring.svc.cluster.local:9090',
76+
'--prometheus-url=http://prometheus-k8s.%s.svc.cluster.local:9090' % pyrra._config.namespace,
7777
],
7878
// resources: pyrra._config.resources,
7979
ports: [{ containerPort: pyrra._config.port }],

0 commit comments

Comments
 (0)