Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use grizzly K8S wrapper library #2

Merged
merged 1 commit into from Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 6 additions & 3 deletions dashboards.libsonnet
@@ -1,5 +1,8 @@
local grr = import 'github.com/grafana/jsonnet-libs/grizzly/grizzly.libsonnet';

{
grafanaDashboards+:: {
'example.json': (import 'example.jsonnet'),
},
dashboards: [
grr.dashboard.new('example', (import 'example.jsonnet')),
],
// See a more extensive example at https://github.com/grafana/grizzly/blob/main/examples/grr.jsonnet
}
9 changes: 9 additions & 0 deletions jsonnetfile.json
Expand Up @@ -9,6 +9,15 @@
}
},
"version": "main"
},
{
"source": {
"git": {
"remote": "https://github.com/grafana/jsonnet-libs.git",
"subdir": "grizzly"
}
},
"version": "master"
}
],
"legacyImports": true
Expand Down
56 changes: 13 additions & 43 deletions jsonnetfile.lock.json
@@ -1,65 +1,35 @@
{
"version": 1,
"dependencies": [
{
"source": {
"git": {
"remote": "https://github.com/crdsonnet/crdsonnet.git",
"subdir": "crdsonnet"
}
},
"version": "3dab27c8c9119eb14ecc19592240caf5f7330d23",
"sum": "Vh6Wo/7IIyIkmDE2XAJfWZDlTHClRrdMa9CCBPrcF1U="
},
{
"source": {
"git": {
"remote": "https://github.com/crdsonnet/validate-libsonnet.git",
"subdir": ""
}
},
"version": "a78ca15fbfece3110c4807d1f059132ece01d97b",
"sum": "qYLH56MqvmgxE4YMNeTbuJ1XSsCpl1sumHN5x8IQv2I="
},
{
"source": {
"git": {
"remote": "https://github.com/grafana/grafonnet.git",
"subdir": "gen/grafonnet-latest"
}
},
"version": "441b95e5a16ee5e511d54beb5f07e9b05f2bb5a2",
"sum": "sVzVlSLbxPkAurwO19YERigLMmRfVsViMcWC0gkTTqU="
},
{
"source": {
"git": {
"remote": "https://github.com/grafana/grafonnet.git",
"subdir": "gen/grafonnet-v10.0.0"
}
},
"version": "441b95e5a16ee5e511d54beb5f07e9b05f2bb5a2",
"sum": "Lv5DM6d93sW3q2v9l5A6V0Etnnrzy5t19uYTEjO77Ag="
"version": "fe65a22df6d3a897729fff47cff599805a2c5710",
"sum": "mDHkB1avJU5IqvwCsXPmPt8pSiGjupLVqx3zCgFKzbw="
},
{
"source": {
"git": {
"remote": "https://github.com/grafana/grafonnet.git",
"subdir": "grafonnet-base"
"subdir": "gen/grafonnet-v10.2.0"
}
},
"version": "441b95e5a16ee5e511d54beb5f07e9b05f2bb5a2",
"sum": "5zmj5Vn/cKhKrD+jA5BfLliR4t74upkM4PfnuJC5t4M="
"version": "fe65a22df6d3a897729fff47cff599805a2c5710",
"sum": "9xwtVj7WmdsFWoQ5CTcvDBKEgIPnAF9DsD6dnKl3M/U="
},
{
"source": {
"git": {
"remote": "https://github.com/grafana/grok.git",
"subdir": "jsonnet/v10.0.0"
"remote": "https://github.com/grafana/jsonnet-libs.git",
"subdir": "grizzly"
}
},
"version": "8a4d53df8dc53b005a22125bc199366787dd271a",
"sum": "cpxEEjeaQMUYA938vuVie3s5SSRv+O9IWwL9F1m44Qk="
"version": "0098700428a0a4ee7d884d332d137caff5c52497",
"sum": "yY8w1JvVAuxB3Z62R3OxDVcSRPUKIvEWQZ2ShyD7uis="
},
{
"source": {
Expand All @@ -68,8 +38,8 @@
"subdir": "doc-util"
}
},
"version": "7c865ec0606f2b68c0f6b2721f101e6a99cd2593",
"sum": "zjjufxN4yAIevldYEERiZEp27vK0BJKj1VvZcVtWiOo="
"version": "6ac6c69685b8c29c54515448eaca583da2d88150",
"sum": "BrAL/k23jq+xy9oA7TWIhUx07dsA/QLm3g7ktCwe//U="
},
{
"source": {
Expand All @@ -78,8 +48,8 @@
"subdir": ""
}
},
"version": "d1929c3c1728274424a21a617f1b82095685d640",
"sum": "DHqlMNfQH/eCWHbHD2Ouc/bH00AwTkCS86z6cgzQ7UI="
"version": "fc2e57a8839902ed4ba6cab5a99d642500f7102b",
"sum": "43waffw1QzvpY4rKcWoo3L7Vpee+DCYexwLDd5cPG0M="
}
],
"legacyImports": false
Expand Down
1 change: 0 additions & 1 deletion vendor/crdsonnet

This file was deleted.

143 changes: 0 additions & 143 deletions vendor/github.com/crdsonnet/crdsonnet/crdsonnet/dynamic.libsonnet

This file was deleted.

This file was deleted.

18 changes: 0 additions & 18 deletions vendor/github.com/crdsonnet/crdsonnet/crdsonnet/example/jso

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.