istio.io/istio@v0.0.0-20240520182934-d79c90f27776/manifests/addons/values-grafana.yaml (about)

     1  # Avoid creating a bunch of RBAC rules for features we are not enabling
     2  rbac:
     3    create: false
     4    pspEnabled: false
     5  
     6  # Disable test pods
     7  testFramework:
     8    enabled: false
     9  
    10  podLabels:
    11    sidecar.istio.io/inject: "false"
    12  
    13  # Demo only, so we will have no authentication
    14  admin:
    15    existingSecret: ""
    16  ldap:
    17    existingSecret: true
    18  env:
    19    GF_SECURITY_ADMIN_USER: "admin"
    20    GF_SECURITY_ADMIN_PASSWORD: "admin"
    21    GF_AUTH_BASIC_ENABLED: "false"
    22    GF_AUTH_ANONYMOUS_ENABLED: "true"
    23    GF_AUTH_ANONYMOUS_ORG_ROLE: Admin
    24  
    25  # Expose on port 3000 to match the Istio docs
    26  service:
    27    port: 3000
    28  
    29  securityContext: null
    30  
    31  # Set up out dashboards
    32  dashboardProviders:
    33    dashboardproviders.yaml:
    34      apiVersion: 1
    35      providers:
    36        - name: "istio"
    37          orgId: 1
    38          folder: "istio"
    39          type: file
    40          disableDeletion: false
    41          options:
    42            path: /var/lib/grafana/dashboards/istio
    43        - name: "istio-services"
    44          orgId: 1
    45          folder: "istio"
    46          type: file
    47          disableDeletion: false
    48          options:
    49            path: /var/lib/grafana/dashboards/istio-services
    50  
    51  dashboardsConfigMaps:
    52    istio: "istio-grafana-dashboards"
    53    istio-services: "istio-services-grafana-dashboards"
    54  
    55  # Configure the prometheus data source. We expect prometheus:9090 in the same namespace
    56  datasources:
    57    datasources.yaml:
    58      apiVersion: 1
    59      datasources:
    60        - name: Prometheus
    61          type: prometheus
    62          orgId: 1
    63          url: http://prometheus:9090
    64          access: proxy
    65          isDefault: true
    66          jsonData:
    67            timeInterval: 5s
    68          editable: true
    69        - name: Loki
    70          type: loki
    71          orgId: 1
    72          url: http://loki:3100
    73          access: proxy
    74          isDefault: false
    75          jsonData:
    76            timeInterval: 5s
    77          editable: true