sigs.k8s.io/cluster-api@v1.7.1/hack/observability/grafana/kustomization.yaml (about)

     1  resources:
     2    - ../namespace.yaml
     3    # The grafana helm chart will reference a configmap with name `grafana-dashboards`.
     4    # The configMapGenerator below will create the configmap and append a hash suffix calculated from its
     5    # content to the name. Kustomize will append the suffix hash to all references in the helm chart, but
     6    # only when the helm chart content is referenced in "resources".
     7    # This would not work if the helm chart is configured in this file via the "helmCharts" option.
     8    - ./chart
     9  
    10  namespace: observability
    11  
    12  configMapGenerator:
    13  - name: grafana-dashboards
    14    files:
    15    - dashboards/cluster-api-mgmt-apiserver-requests.json
    16    - dashboards/cluster-api-performance.json
    17    - dashboards/cluster-api-state.json
    18    - dashboards/cluster-api-wl-apiserver-requests.json
    19    - dashboards/controller-runtime.json