apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
  name: grafana-operator.v5.13.0
  namespace: {{ Release.Namespace }}
  finalizers:
    - operators.coreos.com/csv-cleanup
  labels:
    olm.managed: 'true'
    operators.coreos.com/grafana-operator.kvant-grafana-operator: ''
spec:
  customresourcedefinitions:
    owned:
      - description: GrafanaAlertRuleGroup is the Schema for the grafanaalertrulegroups API
        displayName: Grafana Alert Rule Group
        kind: GrafanaAlertRuleGroup
        name: grafanaalertrulegroups.grafana.integreatly.org
        version: v1beta1
      - description: GrafanaContactPoint is the Schema for the grafanacontactpoints API
        displayName: Grafana Contact Point
        kind: GrafanaContactPoint
        name: grafanacontactpoints.grafana.integreatly.org
        version: v1beta1
      - description: GrafanaDashboard is the Schema for the grafanadashboards API
        displayName: Grafana Dashboard
        kind: GrafanaDashboard
        name: grafanadashboards.grafana.integreatly.org
        version: v1beta1
      - description: GrafanaDatasource is the Schema for the grafanadatasources API
        displayName: Grafana Datasource
        kind: GrafanaDatasource
        name: grafanadatasources.grafana.integreatly.org
        version: v1beta1
      - description: GrafanaFolder is the Schema for the grafanafolders API
        displayName: Grafana Folder
        kind: GrafanaFolder
        name: grafanafolders.grafana.integreatly.org
        version: v1beta1
      - kind: GrafanaNotificationPolicy
        name: grafananotificationpolicies.grafana.integreatly.org
        version: v1beta1
      - description: Grafana is the Schema for the grafanas API
        displayName: Grafana
        kind: Grafana
        name: grafanas.grafana.integreatly.org
        version: v1beta1
  relatedImages:
    - image: 'docker.io/grafana/grafana@sha256:b7fcb534f7b3512801bb3f4e658238846435804deb479d105b5cdc680847c272'
      name: grafana
    - image: 'ghcr.io/grafana/grafana-operator@sha256:a2d35af04ec0773f62d9b75966d0a3f8b24998e126b8ad243afb0377deb8e635'
      name: manager
    - image: 'ghcr.io/grafana/grafana-operator@sha256:a2d35af04ec0773f62d9b75966d0a3f8b24998e126b8ad243afb0377deb8e635'
      name: grafana-operator-a2d35af04ec0773f62d9b75966d0a3f8b24998e126b8ad243afb0377deb8e635-annotation
  cleanup:
    enabled: false
  apiservicedefinitions: {}
  keywords:
    - Grafana
    - Metrics
    - Observability
  displayName: Grafana Operator
  provider:
    name: Grafana Labs
    url: 'https://grafana.com'
  maturity: stable
  skips:
    - grafana-operator.v5.6.1
    - grafana-operator.v5.6.2
    - grafana-operator.v5.6.3
    - grafana-operator.v5.7.0
    - grafana-operator.v5.8.0
    - grafana-operator.v5.9.2
    - grafana-operator.v5.10.0
    - grafana-operator.v5.11.0
    - grafana-operator.v5.12.0
  installModes:
    - supported: true
      type: OwnNamespace
    - supported: true
      type: SingleNamespace
    - supported: true
      type: MultiNamespace
    - supported: true
      type: AllNamespaces
  version: 5.13.0
  icon:
    - base64data:  
      mediatype: image/svg+xml
  minKubeVersion: 1.23.0
  links:
    - name: Grafana Operator
      url: 'https://grafana.github.io/grafana-operator'
  install:
    spec:
      clusterPermissions:
        - rules:
            - apiGroups:
                - ''
              resources:
                - configmaps
                - persistentvolumeclaims
                - secrets
                - serviceaccounts
                - services
              verbs:
                - create
                - delete
                - get
                - list
                - patch
                - update
                - watch
            - apiGroups:
                - ''
              resources:
                - events
              verbs:
                - create
                - get
                - list
                - patch
                - watch
            - apiGroups:
                - apps
              resources:
                - deployments
              verbs:
                - create
                - delete
                - get
                - list
                - patch
                - update
                - watch
            - apiGroups:
                - coordination.k8s.io
              resources:
                - leases
              verbs:
                - create
                - delete
                - get
                - list
                - patch
                - update
                - watch
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanaalertrulegroups
              verbs:
                - create
                - delete
                - get
                - list
                - patch
                - update
                - watch
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanaalertrulegroups/finalizers
              verbs:
                - update
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanaalertrulegroups/status
              verbs:
                - get
                - patch
                - update
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanacontactpoints
              verbs:
                - create
                - delete
                - get
                - list
                - patch
                - update
                - watch
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanacontactpoints/finalizers
              verbs:
                - update
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanacontactpoints/status
              verbs:
                - get
                - patch
                - update
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanadashboards
              verbs:
                - create
                - delete
                - get
                - list
                - patch
                - update
                - watch
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanadashboards/finalizers
              verbs:
                - update
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanadashboards/status
              verbs:
                - get
                - patch
                - update
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanadatasources
              verbs:
                - create
                - delete
                - get
                - list
                - patch
                - update
                - watch
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanadatasources/finalizers
              verbs:
                - update
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanadatasources/status
              verbs:
                - get
                - patch
                - update
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanafolders
              verbs:
                - create
                - delete
                - get
                - list
                - patch
                - update
                - watch
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanafolders/finalizers
              verbs:
                - update
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanafolders/status
              verbs:
                - get
                - patch
                - update
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafananotificationpolicies
              verbs:
                - create
                - delete
                - get
                - list
                - patch
                - update
                - watch
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafananotificationpolicies/finalizers
              verbs:
                - update
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafananotificationpolicies/status
              verbs:
                - get
                - patch
                - update
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanas
              verbs:
                - create
                - delete
                - get
                - list
                - patch
                - update
                - watch
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanas/finalizers
              verbs:
                - update
            - apiGroups:
                - grafana.integreatly.org
              resources:
                - grafanas/status
              verbs:
                - get
                - patch
                - update
            - apiGroups:
                - networking.k8s.io
              resources:
                - ingresses
              verbs:
                - create
                - delete
                - get
                - list
                - patch
                - update
                - watch
            - apiGroups:
                - route.openshift.io
              resources:
                - routes
                - routes/custom-host
              verbs:
                - create
                - delete
                - get
                - list
                - update
                - watch
          serviceAccountName: grafana-operator-controller-manager
      deployments:
        - label:
            app.kubernetes.io/managed-by: olm
            app.kubernetes.io/name: grafana-operator
          name: grafana-operator-controller-manager-v5
          spec:
            replicas: 1
            selector:
              matchLabels:
                app.kubernetes.io/managed-by: olm
                app.kubernetes.io/name: grafana-operator
            strategy: {}
            template:
              metadata:
                creationTimestamp: null
                labels:
                  app.kubernetes.io/managed-by: olm
                  app.kubernetes.io/name: grafana-operator
              spec:
                containers:
                  - resources:
                      limits:
                        cpu: 200m
                        memory: 550Mi
                      requests:
                        cpu: 100m
                        memory: 20Mi
                    readinessProbe:
                      httpGet:
                        path: /readyz
                        port: 8081
                      initialDelaySeconds: 5
                      periodSeconds: 10
                    name: manager
                    livenessProbe:
                      httpGet:
                        path: /healthz
                        port: 8081
                      initialDelaySeconds: 15
                      periodSeconds: 20
                    env:
                      - name: RELATED_IMAGE_GRAFANA
                        value: 'docker.io/grafana/grafana@sha256:b7fcb534f7b3512801bb3f4e658238846435804deb479d105b5cdc680847c272'
                      - name: WATCH_NAMESPACE
                        valueFrom:
                          fieldRef:
                            fieldPath: 'metadata.annotations[''olm.targetNamespaces'']'
                    securityContext:
                      allowPrivilegeEscalation: false
                    ports:
                      - containerPort: 9090
                        name: metrics
                        protocol: TCP
                      - containerPort: 8888
                        name: pprof
                        protocol: TCP
                    imagePullPolicy: Always
                    image: 'ghcr.io/grafana/grafana-operator@sha256:a2d35af04ec0773f62d9b75966d0a3f8b24998e126b8ad243afb0377deb8e635'
                    args:
                      - '--health-probe-bind-address=:8081'
                      - '--metrics-bind-address=0.0.0.0:9090'
                      - '--leader-elect'
                securityContext:
                  runAsNonRoot: true
                serviceAccountName: grafana-operator-controller-manager
                terminationGracePeriodSeconds: 10
      permissions:
        - rules:
            - apiGroups:
                - ''
              resources:
                - configmaps
              verbs:
                - get
                - list
                - watch
                - create
                - update
                - patch
                - delete
            - apiGroups:
                - coordination.k8s.io
              resources:
                - leases
              verbs:
                - get
                - list
                - watch
                - create
                - update
                - patch
                - delete
            - apiGroups:
                - ''
              resources:
                - events
              verbs:
                - create
                - patch
          serviceAccountName: grafana-operator-controller-manager
    strategy: deployment
  maintainers:
    - email: grafana-operator@grafana.com
      name: Grafana-operator maintainers
  description: 'Deploys and manages Grafana instances, dashboards and data sources'
  replaces: grafana-operator.v5.12.0
