diff --git a/libs/victoria-metrics-operator/config.jsonnet b/libs/victoria-metrics-operator/config.jsonnet new file mode 100644 index 0000000..f9a0a7e --- /dev/null +++ b/libs/victoria-metrics-operator/config.jsonnet @@ -0,0 +1,22 @@ +# libs//config.jsonnet +local config = import 'jsonnet/config.jsonnet'; +local versions = [ + { tag: "v0.50.0", version: "0.50" }, + { tag: "v0.49.1", version: "0.49" }, + { tag: "v0.48.4", version: "0.48" }, + { tag: "v0.47.3", version: "0.47" }, + { tag: "v0.46.4", version: "0.46" } +]; + +config.new( + name='victoria-metrics-operator', + specs=[ + { + output: v.version, + crds: ['https://github.com/VictoriaMetrics/operator/releases/download/%s/crd.yaml' % v.tag] , + prefix: '^com\\.victoriametrics\\.operator\\..*', + localName: 'victoriametrics', + }, + for v in versions + ] +)