github.com/verrazzano/verrazzano@v1.7.1/platform-operator/helm_config/overrides/prometheus-node-exporter-values.yaml (about)

     1  # Copyright (c) 2022, 2023, Oracle and/or its affiliates.
     2  # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  
     4  # The way the daemonset name is defined results in a very long name with duplication (using the Chart name +
     5  # release name). Instead override the full name of the daemonset to what we want.
     6  fullName: prometheus-node-exporter
     7  
     8  # Prometheus ServiceMonitor settings
     9  prometheus:
    10    monitor:
    11      additionalLabels:
    12        release: prometheus-node-exporter
    13      relabelings:
    14        - action: replace
    15          targetLabel: verrazzano_cluster
    16          replacement: local
    17        # preserve job name compatibility with the old node-exporter
    18        - action: replace
    19          sourceLabels:
    20          - job
    21          targetLabel: job
    22          replacement: node-exporter
    23  
    24  securityContext:
    25    seccompProfile:
    26      type: RuntimeDefault
    27  
    28  
    29  containerSecurityContext:
    30    allowPrivilegeEscalation: false
    31    capabilities:
    32      drop:
    33        - ALL
    34    privileged: false
    35    readOnlyRootFilesystem: true
    36  
    37  podLabels:
    38    sidecar.istio.io/inject: "false"