-
Notifications
You must be signed in to change notification settings - Fork 176
grizzly: remove .json/.yaml in the dashboards names #735
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
Conversation
|
Are you using |
|
Indirectly yes. I am using |
|
Hi @malcolmholmes, could we settle on something for this PR? It's literally a copy/paste of https://github.com/grafana/grizzly/blob/master/pkg/grizzly/grizzly.jsonnet#L8 and it would remove our internal hack to have grizzly working on mixins so I would really appreciate if this can be merged... My other PR on grafana/grizzly (grafana/grizzly#199) is not a blocker for us so if you don't have time/you don't want to have it that's fine (see the two last comments in the PR for the latest context). |
|
Apologies for my delay. This fix should not be made in the The right place should be here: jsonnet-libs/grizzly/grafana.libsonnet Lines 7 to 10 in 857530e
e.g.: If that works, I'll happily merge it! |
71424d0 to
f746ec6
Compare
No worries :).
Ah yes you are right thanks! I did it in the |
Yeah, but the |
Mixins typically append .json or .yaml at the end of the name. Remove those so that Grizzly can deploy them like the jsonnet code embed into Grizzly does (grizzly.jsonnet). Signed-off-by: Arthur Outhenin-Chalandre <[email protected]>
Ah ok I see. I added that in every fromMap/fromMixins call then! |
|
thanks for persisting! |
Mixins typically append .json or .yaml at the end of the name.
Remove those so that Grizzly can deploy them like the jsonnet code embed
into Grizzly does (grizzly.jsonnet).
Signed-off-by: Arthur Outhenin-Chalandre [email protected]