apiVersion: v1 data: crunchy_grafana_datasource.yml: | ### # # Copyright 2017-2023 Crunchy Data Solutions, Inc. All Rights Reserved. # ### # config file version apiVersion: 1 # list of datasources to insert/update depending # what's available in the database datasources: # name of the datasource. Required - name: PROMETHEUS # datasource type. Required type: prometheus # access mode. proxy or direct (Server or Browser in the UI). Required access: proxy # org id. will default to orgId 1 if not specified orgId: 1 # url url: http://$PROM_HOST:$PROM_PORT # database password, if used password: # database user, if used user: # database name, if used database: # enable/disable basic auth basicAuth: # basic auth username basicAuthUser: # basic auth password basicAuthPassword: # enable/disable with credentials headers withCredentials: # mark as default datasource. Max one per org isDefault: true version: 1 # allow users to edit datasources from the UI. editable: false kind: ConfigMap metadata: labels: app.kubernetes.io/name: postgres-operator-monitoring vendor: crunchydata name: grafana-datasources