examples/prometheus-agent: Fix broken configurations

Signed-off-by: ArthurSens <arthursens2005@gmail.com>
This commit is contained in:
ArthurSens
2021-11-06 20:52:35 +00:00
parent eac0eb5cb1
commit 25d5f86c80

View File

@@ -4,20 +4,24 @@ local kp =
values+:: { values+:: {
common+: { common+: {
namespace: 'monitoring', namespace: 'monitoring',
versions+: {
prometheus: '2.32.0',
},
}, },
prometheus+: { prometheus+: {
version: '2.32.0',
resources: { resources: {
requests: { memory: '100Mi' }, requests: { memory: '100Mi' },
}, },
enableFeatures: ['agent'] enableFeatures: ['agent'],
}, },
}, },
prometheus+: { prometheus+: {
prometheus+: { prometheus+: {
spec+: {
alerting:: {}, alerting:: {},
remoteWrite: { remoteWrite: [{
// Remote-write config url: 'http://remote-write-url.com',
}],
}, },
}, },
}, },