Enapter / charts

Enapter Helm Charts
MIT License
48 stars 49 forks source link

serviceMonitor changes #35

Closed liviuf-ancas closed 2 years ago

liviuf-ancas commented 2 years ago

if you have multiple keydb charts installed in the same cluster but in different namespaces, each prometheus target will scrape all the keydb instances from the cluster across all the namespaces.

Servicemonitor template needs to be changed from

  namespaceSelector:
    any: true

to :

  namespaceSelector:
    matchNames: 
    - {{.Release.Namespace}}

^^ this is not tested with helm to see if actually works.

Antiarchitect commented 2 years ago

Done, please look at 0.27.1