---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: gatus
rules:
- apiGroups: [""]
resources: ["configmaps", "secrets"]
verbs: ["get", "watch", "list"]
kind: ClusterRoleBinding
roleRef:
apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
namespace: observability