alertmanager/config/testdata
George Robinson ee55078b62 Fix UTF-8 not allowed in Equal field for inhibition rules
This commit fixes a bug where UTF-8 characters are not allowed
in the Equal field for inhibition rules, even when UTF-8 strict
mode is enabled.

This bug occurred because we forgot to override the validation
in model.LabelName. I have copied the same logic used for
GroupBy with GroupByStr, adding EqualStr.

We would like to upgrade prometheus/common in future and use
the validation there instead, but it presents challenges with
downstream projects like Mimir and Cortex where, at present,
UTF-8 can be enabled and disabled in separate components at the
same time, which is not supported in prometheus/common.

Signed-off-by: George Robinson <george.robinson@grafana.com>
2024-12-20 20:22:22 +00:00
..
conf.empty-fields.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.good.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.group-by-all.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.http-config.good.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.inhibit-equal-utf8.yml Fix UTF-8 not allowed in Equal field for inhibition rules 2024-12-20 20:22:22 +00:00
conf.inhibit-equal.yml Fix UTF-8 not allowed in Equal field for inhibition rules 2024-12-20 20:22:22 +00:00
conf.nil-match_re-route.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.nil-source_match_re-inhibition.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.nil-target_match_re-inhibition.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.opsgenie-both-file-and-apikey.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.opsgenie-default-apikey-file.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.opsgenie-default-apikey-old-team.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.opsgenie-default-apikey.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.opsgenie-no-apikey.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.rocketchat-both-token-and-tokenfile.yml feat: add rocketchat notifier (#3600) 2024-10-23 15:38:22 +01:00
conf.rocketchat-both-tokenid-and-tokenidfile.yml feat: add rocketchat notifier (#3600) 2024-10-23 15:38:22 +01:00
conf.rocketchat-default-token-file.yml feat: add rocketchat notifier (#3600) 2024-10-23 15:38:22 +01:00
conf.rocketchat-default-token.yml feat: add rocketchat notifier (#3600) 2024-10-23 15:38:22 +01:00
conf.rocketchat-no-token.yml feat: add rocketchat notifier (#3600) 2024-10-23 15:38:22 +01:00
conf.slack-both-file-and-url.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.slack-default-api-url-file.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.slack-no-api-url.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.smtp-both-password-and-file.yml SMTP config: add global and local password file fields (#3038) 2022-09-16 14:36:57 +02:00
conf.smtp-no-username-or-password.yml SMTP config: add global and local password file fields (#3038) 2022-09-16 14:36:57 +02:00
conf.smtp-password-global-and-local.yml SMTP config: add global and local password file fields (#3038) 2022-09-16 14:36:57 +02:00
conf.sns-invalid.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.sns-topic-arn.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.victorops-both-file-and-apikey.yml Add support for reading VictorOps API key from file (#3111) 2022-10-25 15:40:17 +02:00
conf.victorops-default-apikey-file.yml Add support for reading VictorOps API key from file (#3111) 2022-10-25 15:40:17 +02:00
conf.victorops-default-apikey.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
conf.victorops-no-apikey.yml *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00