mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-11-09 04:21:33 +01:00
contrib/kube-prometheus: thanos-peers service misses namespace
This commit is contained in:
parent
569d83438c
commit
8094f67a40
@ -57,8 +57,8 @@ local servicePort = k.core.v1.service.mixin.spec.portsType;
|
|||||||
thanosPeerService:
|
thanosPeerService:
|
||||||
local thanosPeerPort = servicePort.newNamed('cluster', 10900, 'cluster');
|
local thanosPeerPort = servicePort.newNamed('cluster', 10900, 'cluster');
|
||||||
service.new('thanos-peers', { 'thanos-peer': 'true' }, thanosPeerPort) +
|
service.new('thanos-peers', { 'thanos-peer': 'true' }, thanosPeerPort) +
|
||||||
|
service.mixin.metadata.withNamespace($._config.namespace) +
|
||||||
service.mixin.spec.withType('ClusterIP') +
|
service.mixin.spec.withType('ClusterIP') +
|
||||||
service.mixin.spec.withClusterIp('None'),
|
service.mixin.spec.withClusterIp('None'),
|
||||||
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user