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

added missing resources to applicaiton-monitoring-operator role #110

Closed byroncollins closed 4 years ago

byroncollins commented 4 years ago

Added missing resources in application-monitoring-operator role for deploying the grafana operator

Was generating the following errors in the application-monitoring-operator pod logs as described in issue #109

    "msg": "Error in InstallGrafanaOperator, \n    resourceName=grafana-operator-role : err=error creating resource: roles.rbac.authorization.k8s.io 
    \"grafana-operator-role\" is forbidden: attempt to grant extra privileges: \n    [
        {[*] [integreatly.org] [grafanadashboards/status] [] []} 
        {[*] [integreatly.org] [grafanadatasources/status] [] []} 
        {[*] [integreatly.org] [grafanas/status] [] []}] 

Signed-off-by: Byron.Collins byron_collins@hotmail.com