Scale down the Application Monitoring Operator in the "Managed Service Monitoring" namespace, and scale down the Application Monitoring Operator in the "application monitoring" namespace
Run the Application monitoring Operator locally operator-sdk up local --namespace application-monitoring
Delete the ApplicationMonitoring custom resource: oc delete applicationmonitorings example-applicationmonitoring
Redeploy everything oc apply -f ./deploy/examples/ApplicationMonitoring.yaml using the operator running locally
Once finished, expect to see unique values in the following secrets: prometheus-k8s-proxy
Logging into the Prometheus dashboard should allow you to authenticate via openshift and prevent you accessing the dashboard otherwise
JIRA: https://issues.jboss.org/browse/INTLY-619
Prometheus: Add OAuth Proxy login so the various consoles are not accessible to unauthenticated users.
Verification steps on integreatly cluster:
operator-sdk up local --namespace application-monitoring
oc delete applicationmonitorings example-applicationmonitoring
oc apply -f ./deploy/examples/ApplicationMonitoring.yaml
using the operator running locallyprometheus-k8s-proxy