<p>Does anyone know if there is a way to define static selectors based on the namespace name instead of label selectors? The reason is that some of the namespaces are created by an operator and I don't have any control over the labels.</p>
<p>Thanks
Essey</p>

Erkan
<p>Each namespace has the so-called <a href="https://kubernetes.io/docs/reference/labels-annotations-taints/#kubernetes-io-metadata-name" rel="nofollow noreferrer">well-known label</a> <code>kubernetes.io/metadata.name</code></p>
<p>So your <code>namespaceSelector</code> can be something like:</p>
<pre class="lang-yaml prettyprint-override"><code>namespaceSelector:
  matchExpressions:
    - key: kubernetes.io/metadata.name
      operator: &quot;In&quot;
      values:
        - &quot;staging&quot;
        - &quot;demo&quot;
</code></pre>
