Skip to content

Rules are not creating when using a rules folder. #1633

Closed Answered by jertel
ZivRechnitser asked this question in Q&A
Discussion options

You must be logged in to vote

According to #1244 you cannot use a rules folder outside of the chart, so my advice given in my earlier response, in #1628, is wrong. It appears you will need to copy your rules into the chart's rules/ directory first. This means you will need to unpack the chart archive file to a local folder, or clone this repo and use the chart/ subdirectory as your helm install input. It seems the documentation needs more clarification on this.

Note that the original ElastAlert2 chart did not have the ability to read rules from a directory, instead you had to define all rules in the values.yaml (see the rules: section). This newer local rules directory functionality is a relatively recent feature adde…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ZivRechnitser
Comment options

Answer selected by ZivRechnitser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants