Antoine Legrand
Antoine Legrand
@kadel source: https://github.com/ant31/opencompose-jsonnet (it's like ~1 hour work so it's messy) ``` $ jsonnet cookieapp-opencompose.jsonnet ```
Is it a general tool or more dedicated to prometheus ? ``` NAME: mixtool generate - Generate files for Prometheus alerts & rules and Grafana dashboards as jsonnet mixin USAGE:...
@brancz who are the targeted users ? Prometheus-operator ones ? prometheus one? Does this tool has a usage outside the kubernetes scope ? prom-mixin
I don't see an issue here, many software prioritizes environment variable over conffile when both exist. Things to eventually improve: - document what's the precedence order - log from where...
This is one of my main blocker to not create external commandline tool in order to use std.native function and do the same.
> I'm not sure what you mean. Can you elaborate? Do you mean using Jsonnet as a library and providing a native function there which emulates computed imports? Yes, using...
@sbarzowski also I like to 'hide' jsonnet from user when it's not needed and make it like seems like basic json/yaml. So instead to requires the end-user to know about...
> Trying to hide Jsonnet from the users sounds is a bit of a boundary case from language design perspective. Are you sure importstr is not acceptable? You don't need...
Is there any chance that dict comprehension can include to use hidden too?
@sparkprime Yes, extending object comprehension and with hidden field would solve this issue. as you suggested: ``` objectPop(obj, key): { [k]: obj[k] for k in std.objectFields(obj) if k != key,...