Skip to content

Commit 498e61d

Browse files
committed
feat: use grizzly K8S wrapper library
Closing joanlopez#1
1 parent c68320c commit 498e61d

File tree

623 files changed

+78430
-60904
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

623 files changed

+78430
-60904
lines changed

dashboards.libsonnet

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
local grr = import 'github.com/grafana/jsonnet-libs/grizzly/grizzly.libsonnet';
2+
13
{
2-
grafanaDashboards+:: {
3-
'example.json': (import 'example.jsonnet'),
4-
},
4+
dashboards: [
5+
grr.dashboard.new('example', (import 'example.jsonnet')),
6+
],
7+
// See a more extensive example at https://github.com/grafana/grizzly/blob/main/examples/grr.jsonnet
58
}

jsonnetfile.json

+9
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
}
1010
},
1111
"version": "main"
12+
},
13+
{
14+
"source": {
15+
"git": {
16+
"remote": "https://github.com/grafana/jsonnet-libs.git",
17+
"subdir": "grizzly"
18+
}
19+
},
20+
"version": "master"
1221
}
1322
],
1423
"legacyImports": true

jsonnetfile.lock.json

+13-43
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,35 @@
11
{
22
"version": 1,
33
"dependencies": [
4-
{
5-
"source": {
6-
"git": {
7-
"remote": "https://github.com/crdsonnet/crdsonnet.git",
8-
"subdir": "crdsonnet"
9-
}
10-
},
11-
"version": "3dab27c8c9119eb14ecc19592240caf5f7330d23",
12-
"sum": "Vh6Wo/7IIyIkmDE2XAJfWZDlTHClRrdMa9CCBPrcF1U="
13-
},
14-
{
15-
"source": {
16-
"git": {
17-
"remote": "https://github.com/crdsonnet/validate-libsonnet.git",
18-
"subdir": ""
19-
}
20-
},
21-
"version": "a78ca15fbfece3110c4807d1f059132ece01d97b",
22-
"sum": "qYLH56MqvmgxE4YMNeTbuJ1XSsCpl1sumHN5x8IQv2I="
23-
},
244
{
255
"source": {
266
"git": {
277
"remote": "https://github.com/grafana/grafonnet.git",
288
"subdir": "gen/grafonnet-latest"
299
}
3010
},
31-
"version": "441b95e5a16ee5e511d54beb5f07e9b05f2bb5a2",
32-
"sum": "sVzVlSLbxPkAurwO19YERigLMmRfVsViMcWC0gkTTqU="
33-
},
34-
{
35-
"source": {
36-
"git": {
37-
"remote": "https://github.com/grafana/grafonnet.git",
38-
"subdir": "gen/grafonnet-v10.0.0"
39-
}
40-
},
41-
"version": "441b95e5a16ee5e511d54beb5f07e9b05f2bb5a2",
42-
"sum": "Lv5DM6d93sW3q2v9l5A6V0Etnnrzy5t19uYTEjO77Ag="
11+
"version": "fe65a22df6d3a897729fff47cff599805a2c5710",
12+
"sum": "mDHkB1avJU5IqvwCsXPmPt8pSiGjupLVqx3zCgFKzbw="
4313
},
4414
{
4515
"source": {
4616
"git": {
4717
"remote": "https://github.com/grafana/grafonnet.git",
48-
"subdir": "grafonnet-base"
18+
"subdir": "gen/grafonnet-v10.2.0"
4919
}
5020
},
51-
"version": "441b95e5a16ee5e511d54beb5f07e9b05f2bb5a2",
52-
"sum": "5zmj5Vn/cKhKrD+jA5BfLliR4t74upkM4PfnuJC5t4M="
21+
"version": "fe65a22df6d3a897729fff47cff599805a2c5710",
22+
"sum": "9xwtVj7WmdsFWoQ5CTcvDBKEgIPnAF9DsD6dnKl3M/U="
5323
},
5424
{
5525
"source": {
5626
"git": {
57-
"remote": "https://github.com/grafana/grok.git",
58-
"subdir": "jsonnet/v10.0.0"
27+
"remote": "https://github.com/grafana/jsonnet-libs.git",
28+
"subdir": "grizzly"
5929
}
6030
},
61-
"version": "8a4d53df8dc53b005a22125bc199366787dd271a",
62-
"sum": "cpxEEjeaQMUYA938vuVie3s5SSRv+O9IWwL9F1m44Qk="
31+
"version": "0098700428a0a4ee7d884d332d137caff5c52497",
32+
"sum": "yY8w1JvVAuxB3Z62R3OxDVcSRPUKIvEWQZ2ShyD7uis="
6333
},
6434
{
6535
"source": {
@@ -68,8 +38,8 @@
6838
"subdir": "doc-util"
6939
}
7040
},
71-
"version": "7c865ec0606f2b68c0f6b2721f101e6a99cd2593",
72-
"sum": "zjjufxN4yAIevldYEERiZEp27vK0BJKj1VvZcVtWiOo="
41+
"version": "6ac6c69685b8c29c54515448eaca583da2d88150",
42+
"sum": "BrAL/k23jq+xy9oA7TWIhUx07dsA/QLm3g7ktCwe//U="
7343
},
7444
{
7545
"source": {
@@ -78,8 +48,8 @@
7848
"subdir": ""
7949
}
8050
},
81-
"version": "d1929c3c1728274424a21a617f1b82095685d640",
82-
"sum": "DHqlMNfQH/eCWHbHD2Ouc/bH00AwTkCS86z6cgzQ7UI="
51+
"version": "fc2e57a8839902ed4ba6cab5a99d642500f7102b",
52+
"sum": "43waffw1QzvpY4rKcWoo3L7Vpee+DCYexwLDd5cPG0M="
8353
}
8454
],
8555
"legacyImports": false

vendor/crdsonnet

-1
This file was deleted.

vendor/github.com/crdsonnet/crdsonnet/crdsonnet/dynamic.libsonnet

-143
This file was deleted.

vendor/github.com/crdsonnet/crdsonnet/crdsonnet/example/example_schema.json

-52
This file was deleted.

vendor/github.com/crdsonnet/crdsonnet/crdsonnet/example/jso

-18
This file was deleted.

vendor/github.com/crdsonnet/crdsonnet/crdsonnet/example/json_schema.libsonnet

-18
This file was deleted.

vendor/github.com/crdsonnet/crdsonnet/crdsonnet/example/json_schema_simple.libsonnet

-9
This file was deleted.

vendor/github.com/crdsonnet/crdsonnet/crdsonnet/example/json_schema_static.libsonnet

-9
This file was deleted.

0 commit comments

Comments
 (0)