Skip to content

Commit 6dec712

Browse files
authored
victoria-metrics-operator (#488)
* added config for victoria metrics operator * added config for victoria metrics operator * added versions from 0.30 to 0.50 * Victoria-metrics only past 5 versions
1 parent 31808bf commit 6dec712

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# libs/<name>/config.jsonnet
2+
local config = import 'jsonnet/config.jsonnet';
3+
local versions = [
4+
{ tag: "v0.50.0", version: "0.50" },
5+
{ tag: "v0.49.1", version: "0.49" },
6+
{ tag: "v0.48.4", version: "0.48" },
7+
{ tag: "v0.47.3", version: "0.47" },
8+
{ tag: "v0.46.4", version: "0.46" }
9+
];
10+
11+
config.new(
12+
name='victoria-metrics-operator',
13+
specs=[
14+
{
15+
output: v.version,
16+
crds: ['https://github.com/VictoriaMetrics/operator/releases/download/%s/crd.yaml' % v.tag] ,
17+
prefix: '^com\\.victoriametrics\\.operator\\..*',
18+
localName: 'victoriametrics',
19+
},
20+
for v in versions
21+
]
22+
)

0 commit comments

Comments
 (0)