k3s-configs/apps/gitea/restic-role.yaml

10 lines
224 B
YAML
Raw Normal View History

2024-01-30 16:12:59 +00:00
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: restic-role
namespace: gitea
rules:
2024-01-30 19:44:56 +00:00
- apiGroups: ["apps"]
resources: ["deployments", "deployments/scale"]
verbs: ["get", "list", "update", "patch"]