OpenShift example

A basic deployment that makes use of OpenShift routes.

apiVersion: grafana.integreatly.org/v1beta1
kind: Grafana
metadata:
  name: grafana
  labels:
    dashboards: "grafana"
spec:
  # An empty route spec is enough to signal the creation of a default
  # route to the operator. This can also be used to override defaults
  # in the route spec.
  route:
    spec: {}
  config:
    log:
      mode: "console"
    auth:
      disable_login_form: "false"
    security:
      admin_user: root
      admin_password: secret