Hello!
I have kubernetes cluster and an external Alertmanager (see the screenshot in the attachment).
there are several namespaces in the cluster.
I only need to process alerts from one - " Namespace-2"
alerts from other namespaces are useless and can be ignored
Please advise the method (if any), how it can be implemented
Notes:
1) I tried to implement using inhibit_rules,
inhibit_rules:
- target_match_re:
namespace: "^((?!namespace-2).)*$"
but encountered this error
FAILED: error parsing regexp: invalid or unsupported Perl syntax: `(?!`
2) I tried implementing it at the routing level, but there is no configuration of matchers for defaultReceiver. I need the default receiver to receive alerts only from namespace-2
Thanks