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

contrib/kube-prometheus: Update kube-prometheus-thanos for thanos v0.2

parent 68862939
No related branches found
No related tags found
No related merge requests found
......@@ -2,15 +2,20 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
local service = k.core.v1.service;
local servicePort = k.core.v1.service.mixin.spec.portsType;
{
_config+:: {
versions+:: {
thanos: 'v0.1.0',
thanos: 'v0.2.1',
},
imageRepos+:: {
thanos: 'improbable/thanos',
},
thanos+:: {
objectStorageConfig: {
key: 'thanos.yaml', # How the file inside the secret is called
name: 'thanos-objstore-config', # This is the name of your Kubernetes secret with the config
},
},
},
prometheus+:: {
prometheus+: {
......@@ -22,6 +27,7 @@ local servicePort = k.core.v1.service.mixin.spec.portsType;
peers: 'thanos-peers.' + $._config.namespace + '.svc:10900',
version: $._config.versions.thanos,
baseImage: $._config.imageRepos.thanos,
objectStorageConfig: $._config.thanos.objectStorageConfig,
},
},
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment