We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v0.7.1
grr apply grr.jsonnet Applying 2 resources DashboardFolder.sample updated Dashboard.prod-overview updated 2 resource updated
grr apply grr.jsonnet Applying 2 resources DashboardFolder.sample updated Dashboard.prod-overview unchanged 1 resource updated, 1 resource unchanged
Using dashboard-simple.libsonnet, folder-simple.libsonnet, and grizzly/grizzly.libsonnet from the examples directory.
dashboard-simple.libsonnet
folder-simple.libsonnet
grizzly/grizzly.libsonnet
local dashboard = import 'dashboard-simple.libsonnet'; local folder = import 'folder-simple.libsonnet'; local grr = import 'grizzly/grizzly.libsonnet'; { folders: [ grr.folder.new('sample', 'Sample'), ], dashboards: [ grr.dashboard.new('prod-overview', dashboard) ], }
Running grr apply grr.jsonnet creates a folder called Sample and a dashboard in the default location.
grr apply grr.jsonnet
Sample
Changing grr.jsonnet to
grr.jsonnet
local dashboard = import 'dashboard-simple.libsonnet'; local folder = import 'folder-simple.libsonnet'; local grr = import 'grizzly/grizzly.libsonnet'; local encoder = import 'eigenda/encoder/main.libsonnet'; { folders: [ grr.folder.new('sample', 'Sample'), ], dashboards: [ grr.dashboard.new('prod-overview', dashboard) + grr.resource.addMetadata('folder', 'sample'), ], }
Shows the following diff
Dashboard.prod-overview changes detected: --- Remote +++ Local @@ -1,7 +1,7 @@ apiVersion: grizzly.grafana.com/v1alpha1 kind: Dashboard metadata: - folder: general + folder: sample name: prod-overview spec: schemaVersion: 17
but applying it leaves the dashboard unchanged.
Is this type of action supported?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Grizzly Version
v0.7.1
Expected Behavior
Actual Behavior
Steps to Reproduce
Using
dashboard-simple.libsonnet
,folder-simple.libsonnet
, andgrizzly/grizzly.libsonnet
from the examples directory.Running
grr apply grr.jsonnet
creates a folder calledSample
and a dashboard in the default location.Changing
grr.jsonnet
toShows the following diff
but applying it leaves the dashboard unchanged.
Is this type of action supported?
The text was updated successfully, but these errors were encountered: