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

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