jfrog / charts

JFrog official Helm Charts
https://jfrog.com/integration/helm-repository/
Apache License 2.0
254 stars 439 forks source link

[xray] Unable to set log levels #1821

Closed bmanuel closed 2 months ago

bmanuel commented 11 months ago

Is this a request for help?:


Is this a BUG REPORT or FEATURE REQUEST? (choose one): Feature

Which chart:

xray

What you expected to happen:

There are times that it would be helpful to run xray services with different log levels, especially when trying to debug issues. The chart does not currently support setting the log levels for those services. Ideally, it would be possible to set a global level and then override it for each service individually if necessary.

Anything else we need to know:

It is possible to override the system yaml and add the logging, so that is a usable short term fix. Needing a custom system yaml is not ideal since updates in this chart no longer are used, increasing the burden during upgrades.

rahulsadanandan commented 2 months ago

@bmanuel Recently have merged a feature (https://github.com/jfrog/charts/pull/1842) that allows overriding the system YAML with the extraSystemYaml section. The entries specified under ‘xray.extraSystemYaml’ will be merged with files/system.yaml to generate the final system.yaml.

https://github.com/jfrog/charts/blob/master/stable/xray/values.yaml#L192-L202

Let us know if this works for you.