mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
36 lines
727 B
YAML
36 lines
727 B
YAML
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: gatus
|
|
namespace: monitoring
|
|
labels:
|
|
app.kubernetes.io/managed-by: Helm
|
|
annotations:
|
|
meta.helm.sh/release-name: gatus
|
|
meta.helm.sh/release-namespace: monitoring
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: gatus
|
|
namespace: monitoring
|
|
rules:
|
|
- apiGroups: [""]
|
|
resources: ["configmaps", "secrets"]
|
|
verbs: ["get", "watch", "list"]
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: gatus
|
|
namespace: monitoring
|
|
roleRef:
|
|
kind: ClusterRole
|
|
name: gatus
|
|
apiGroup: rbac.authorization.k8s.io
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: gatus
|
|
namespace: monitoring
|