You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
381 B
YAML
14 lines
381 B
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: Role
|
|
metadata:
|
|
name: dcgm-exporter-read-cm
|
|
namespace: {{ include "dcgm-exporter.namespace" . }}
|
|
labels:
|
|
{{- include "dcgm-exporter.labels" . | nindent 4 }}
|
|
app.kubernetes.io/component: "dcgm-exporter"
|
|
rules:
|
|
- apiGroups: [""]
|
|
resources: ["configmaps"]
|
|
resourceNames: ["exporter-metrics-config-map"]
|
|
verbs: ["get"]
|