apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: nginx-exporter roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: nginx-exporter subjects: - kind: ServiceAccount name: nginx-exporter namespace: monitoring