VictoriaMetrics / operator

Kubernetes operator for Victoria Metrics
Apache License 2.0
403 stars 141 forks source link

Support NotIn MatchExpressions for ruleSelector #980

Closed dctrwatson closed 1 day ago

dctrwatson commented 3 weeks ago

Right now if you add:

    ruleSelector:
      matchExpressions:
        - key: vmcluster
          operator: NotIn
          values:
            - foo

It will exclude all rules not in the same namespace as the operator.

Haleygo commented 1 day ago

The fix was included in v0.46.0, close as completed. Feel free to reopen if there are further questions.