1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Update jsonnet folder structure to default bundler format (#536)

Signed-off-by: Andreas Antonsson <Andreas.Antonsson@collectorbank.se>
This commit is contained in:
tehho 2021-03-23 13:12:40 +01:00 committed by GitHub
parent 4afec72ceb
commit 72e1915ef4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 14 deletions

View File

@ -31,23 +31,14 @@ metricRelabelings:
### Jsonnet ### Jsonnet
The required label replacements are bundled in [jsonnet/custom-prometheus](../jsonnet/custom-prometheus.jsonnet). To install it copy the file or use The required label replacements are bundled in [jsonnet/lens/custom-prometheus](../jsonnet/lens/custom-prometheus.jsonnet). To install it copy the file or use
[Jsonnet Bundler](https://github.com/jsonnet-bundler/jsonnet-bundler). For jsonnet bundler add the following dependency to your `jsonnetfile.json`: [Jsonnet Bundler](https://github.com/jsonnet-bundler/jsonnet-bundler).
``` ```bash
{ jb init && jb install https://github.com/lensapp/lens/jsonnet/lens@master
"name": "lens",
"source": {
"git": {
"remote": "https://github.com/lensapp/lens",
"subdir": "jsonnet"
}
},
"version": "master"
}
``` ```
and run `jb install`. When the installation was successful include it into your definitions. Using the [example](https://github.com/coreos/kube-prometheus#compiling) When the installation was successful include it into your definitions. Using the [example](https://github.com/coreos/kube-prometheus#compiling)
of kube-prometheus, e.g.: of kube-prometheus, e.g.:
``` ```