infra/k8s/external-account-rbac/matrix-bridge-meshtastic-deployer.yaml

23 lines
524 B
YAML
Raw Normal View History

2024-10-30 21:57:19 +00:00
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: matrix-bridge-meshtastic-deployer
namespace: meshtastic
rules:
- apiGroups: ["apps"]
resources: ["deployments"]
2024-10-30 21:57:19 +00:00
verbs: ["get", "patch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: matrix-bridge-meshtastic-deployer
namespace: meshtastic
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: matrix-bridge-meshtastic-deployer
subjects:
- kind: User
name: matrix-bridge-meshtastic-deployer