github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/prometheus-community/prometheus-node-exporter/templates/rbac-configmap.yaml (about)

     1  {{- if .Values.kubeRBACProxy.enabled}}
     2  apiVersion: v1
     3  kind: ConfigMap
     4  metadata:
     5    name: {{ template "prometheus-node-exporter.fullname" . }}-rbac-config
     6    namespace: {{ include "prometheus-node-exporter.namespace" . }}
     7  data:
     8    config-file.yaml: |+
     9      authorization:
    10        resourceAttributes:
    11          namespace: {{ template "prometheus-node-exporter.namespace" . }}
    12          apiVersion: v1
    13          resource: services
    14          subresource: {{ template "prometheus-node-exporter.fullname" . }}
    15          name: {{ template "prometheus-node-exporter.fullname" . }}
    16  {{- end }}