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

Consider native function for gzip #791

Open
AndrMoiseev opened this issue Nov 23, 2022 · 1 comment
Open

Consider native function for gzip #791

AndrMoiseev opened this issue Nov 23, 2022 · 1 comment

Comments

@AndrMoiseev
Copy link

Motivation

Grafana Operator allows provisioining of Grafana Dashboards with K8s CRD and actual dashboard json model is stored in ConfigMap. ConfigMap has a size limit 1 Mb, which can be problematic for large dashboards.
Dashboard CRD supports storing gzipped json, but as far as I know - jsonnet doesn't have any facility for gzip.

@zerok
Copy link
Contributor

zerok commented May 27, 2024

Hi :) Do you actually have a single dashboard that is larger than 1MB? Implementing a native function for adding gzip support is slightly problematic as that function would then only be available in the native (Go) interpreter but not in rsjsonnet et al, which some folks use in specific scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In discussion
Development

No branches or pull requests

2 participants