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

Add support for pulling and pushing dashboard json #255

Merged
merged 6 commits into from
Oct 17, 2023
Merged

Conversation

undef1nd
Copy link
Contributor

@undef1nd undef1nd commented Sep 29, 2023

This PR introduces -s flag for pull and apply commands that allows pulling/pushing dashboard JSON as is rather than the Grizzly resource definition.

The apply -s command with currently requires a folder UID as a parameter, limiting the ability to push multiple dashboards to different folders in one go. By default, resources are pushed to the general folder if no folder UID is specified.

.gitignore Show resolved Hide resolved
cmd/grr/workflow.go Outdated Show resolved Hide resolved
cmd/grr/workflow.go Outdated Show resolved Hide resolved
pkg/grizzly/config.go Outdated Show resolved Hide resolved
pkg/grizzly/parsing.go Outdated Show resolved Hide resolved
@undef1nd undef1nd force-pushed the json-resources branch 2 times, most recently from 3a59dba to d549402 Compare October 12, 2023 14:55
cmd/grr/workflow.go Outdated Show resolved Hide resolved
pkg/grizzly/workflow.go Outdated Show resolved Hide resolved
pkg/grizzly/parsing.go Outdated Show resolved Hide resolved
cmd/grr/workflow.go Outdated Show resolved Hide resolved
@undef1nd undef1nd requested a review from joanlopez October 13, 2023 16:05
@undef1nd undef1nd marked this pull request as ready for review October 16, 2023 14:47
@undef1nd undef1nd merged commit a4962f6 into master Oct 17, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants