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

     1  resources:
     2    - ../namespace.yaml
     3    # Aggregated ClusterRole and ClusterRoleBinding for kube-state-metrics crd resources.
     4    - rbac-crd-aggregation.yaml
     5    # Adds the configmap which contains the script to build the final crd configuration.
     6    - crd-sidecar-cm.yaml
     7    # Adds the core CAPI crd metrics configmap and CusterRole.
     8    - ../../../config/metrics
     9  
    10  namespace: observability
    11  
    12  helmCharts:
    13    - name: kube-state-metrics
    14      repo: https://prometheus-community.github.io/helm-charts
    15      namespace: observability
    16      releaseName: kube-state-metrics
    17      valuesFile: values.yaml
    18      version: 5.12.1
    19  
    20  helmGlobals:
    21      # Store chart in ".charts" folder instead of "charts".
    22      # Otherwise "go mod tidy" picks up dependencies of go files contained in the Helm Chart.
    23      # "go mod tidy" ignores folders that begin with ".": https://pkg.go.dev/cmd/go#hdr-Package_lists_and_patterns.
    24      chartHome: .charts
    25  
    26  patches:
    27  # Adds the sidecar container which assembles the final configuration for kube-state-metrics
    28  - path: crd-sidecar-patch.yaml
    29    target:
    30      kind: Deployment