integr8ly / application-monitoring-operator

Operator for installing the Application Monitoring Stack on OpenShift (Prometheus, AlertManager, Grafana)
Apache License 2.0
30 stars 44 forks source link

pass namespace labels to child operators #29

Closed pb82 closed 5 years ago

pb82 commented 5 years ago

Adds a property to the CR that allows passing down the namespace selector labels to the child operators (Grafana and Prometheus operators).

Verification steps:

  1. Update deploy/examples/ApplicationMonitoring.yaml and put some arbitrary value into namespaceSelector
  2. Run the operator and deploy the monitoring stack: oc create -f deploy/examples/ApplicationMonitoring.yaml
  3. After everything is running check the Grafana and Prometheus resources: they should have your arbitrary value in their namespace selectors.
aliok commented 5 years ago

Looks good @pb82 . Thanks for pairing on this one.