infra/k8s/external-account-rbac/matrix-bridge-meshtastic-deployer.yaml
Finn 0163a18f4d
All checks were successful
/ diff-and-deploy (push) Successful in 2m4s
Add matrix-bridge-meshtastic deployer
2024-10-30 14:57:19 -07:00

22 lines
524 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: matrix-bridge-meshtastic-deployer
namespace: meshtastic
rules:
- apiGroups: ["apps"]
resources: ["deployments"]
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