projectsyn / component-prometheus

Commodore component to wrap kube-prometheus jsonnet library.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Allow additional operator managed namespaces #44

Closed bastjan closed 1 year ago

bastjan commented 2 years ago

Context

The operator is set to manage namespaces created from the namespaces: {} object. If a namespace already exists from other sources it is not possible to manage this namespace.

This would allow the operator to manage existing/additional Prometheuses from other sources like component-rancher-monitoring.

Proposed config:

parameters:
  prometheus:
    prometheusOperator:
      additionalManagedNamespaces:
        - blub

The parameter would be merged with the namespaces from the namespaces: {} object.

Alternatives

cc @TheBigLee

TheBigLee commented 2 years ago

This currently doesn't have a high prio for us, because we will try to get away from component-rancher-monitoring completely.