Skip to content
Snippets Groups Projects
Commit 8094f67a authored by Matthias Loibl's avatar Matthias Loibl
Browse files

contrib/kube-prometheus: thanos-peers service misses namespace

parent 569d8343
No related branches found
No related tags found
No related merge requests found
...@@ -57,8 +57,8 @@ local servicePort = k.core.v1.service.mixin.spec.portsType; ...@@ -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'),
}, },
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment