K3s-cluster/monitoring/grafana/role.yaml
Tanguy Herbron cc08c4bbc9 feat(monitoring): Manifests for Grafana/Prometheus/Loki/Promtail
Add manifests and basic configuration for all monitoring and visualization services
2022-09-15 00:17:21 +02:00

19 lines
503 B
YAML

---
# Source: loki-stack/charts/grafana/templates/role.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: loki-grafana
namespace: monitoring
labels:
helm.sh/chart: grafana-6.24.1
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: loki
app.kubernetes.io/version: "8.3.5"
app.kubernetes.io/managed-by: Helm
rules:
- apiGroups: ['extensions']
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames: [loki-grafana]