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