Rules are not creating when using a rules folder. #1633
-
Hey, I'm installing the chart using:
I have a folder I even tried using Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 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 |
Beta Was this translation helpful? Give feedback.
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 yourhelm 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…