install/0000_90_machine-api-operator_04_alertrules: Use '!~' for MachineWithNoRunningPhase
(add alert for machine with long deletion phase,
2021-02-22, added "|Deleting".  But to move from "not equal" to
"regexp does not match" we need to match that with !~.
@@ -26,7 +26,7 @@ spec:
rules:
- alert: MachineWithNoRunningPhase
expr: |
- (mapi_machine_created_timestamp_seconds{phase!="Running|Deleting"}) > 0
+ (mapi_machine_created_timestamp_seconds{phase!~"Running|Deleting"}) > 0
for: 60m
labels:
severity: warning
